• I have successfully uploaded a simple style.css file to my WordPress site – and it works.

    When I wrote it, I found it difficult to open – Safari wanted to open it on my local machine, and did. So I changed it to a .txt file, messed around with it and changed it back to a .css file (by just changing the ending) just before uploading it again.

    My question is: is this an OK way of doing things? Can I just write stuff as a .txt file and then change it to .css (or .php I guess) just before uploading it. Or is there some complicated stuff I don’t know about?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could certainly proceed with that workflow, but I would highly recommend that you get a code editor. It will help with syntax highlighting, and will allow you to avoid the file renaming step.

    I’m assuming you’re on a Mac, because you mention Safari (although one can install on Windows too). I would recommend you check out a few free or cheap code editors, like these:

    Thread Starter davidthain

    (@davidthain)

    Thanks Damon,

    I did get Textwrangler and it kindly dumped a folder full of games onto my machine – so I ditched them and it.

    Might have to save up $5.99 – or even $53! ??

    You could try the new Adobe Brackets (free) too. That is crazy about TextWrangler.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.php and .css files’ is closed to new replies.