Thank you, Asceta. This fix worked for me.
Took a few attempts as Dreamweaver didn’t seem to like me trying to directly edit the files on the server, but once I chose to edit my local files instead and then PUT them on the server, it worked first time.
Brilliant!