Can anyone help? I’m kind of stumped. My .css file doesn’t seem to be working. All my pages are linked to it correctly i think, and it works perfectly locally. Everything else seems to be working, just has no styling.
I’ve already tried multiple cache refreshes, incognito mode, force reload page etc. I’ve tried uploading just the homepage with .js and .css to see if it was another page causing it and stil nothing. Also tried deleting and reuploading everything through the file manager.
Ah right, in that case really must be something to do with my cache, despite all the reloads and refreshes. Thanks for letting me know its working for you at least that’s a relief.
Fixed by renaming “styles.css” to “style.css”. Seems on Chrome it won’t refresh css if it has the same name as a previous one. Just in case anyone else has the same problem and rips their hair out as much as I did…
@anthonyfordaudio I had the same issues with firefox browser too which refuses to update its css cache even after multiple hard refreshes so I had to resort to adding a little php code that automattically appends the file creation time to the end of the filename in the form style.css?4786321 so that whenever a change is made this file time number will update and the browser will detect it and reload the file
what a pain in the neck ! btw if you wish to try this the post is here