Theme doesn't register my CSS updates
-
Hello folks.
Here’s the situation, I’m using a skeleton theme to develop a site (Bones is the theme in case you need to know).
I’ve used it on around 15 projects so far, and this is the first time I encounter this issue.
The issue is that the changes I make in the style.css file – using an FTP software – are not registered by the theme… partially. What I mean is that if I go into the WordPress admin, to Appearance and then Editor, I do see my changes in the style.css file, so the file HAS changed.
But the frontend refuses to change. I cleared and re-cleared my cache, tried reloading with Ctrl+F5 to make sure in gets the data from the server. Nothing. And when I check the page source, and click on the style.css link, it’s not changed, it’s still the original one. So even though the updated one is on the server, the browser reads the original one.
The current workaround I’m using is constantly updating the header.php to add incrementing values of ver=x.xx to the style.css. This does work, and it only adds a few extra seconds of work so it’s no bother, I’d still like to know what is causing this whole mess.
I’ve used this theme successfully with another WordPress 3.8 site with no problem.
The only thing I can think of is some setting on the hosting server, since I am working on the clients server and he has hosting from some unknown company. Up till now I only developed on HostGator or BlueHost.
Anyway, whatever help you can offer is appreciated, thanks!
- The topic ‘Theme doesn't register my CSS updates’ is closed to new replies.