Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDavid Richied
18,057 PointsWordPress Not Updating after Edit
I am stumped. WordPress does not seem to be updating the changes I make to the style.css files. Has anyone else encountered this? I managed to change the background color of the "twenty fifteen" theme to blue, and it correctly updated. Then, I edited it back to normal, but it still sees the old style.css with the blue background. Right now, it seems to be getting the css from http://structurednotesonline.com/wp-content/themes/twentyfifteen/style.css?ver=4.2.4 which shows body {background: blue}, but I can see that the style.css in the WordPress Editor is body {background: f1f1f1}. Does anyone know why it would be looking at the wrong CSS file?
1 Answer
richardwheeler
8,332 PointsDavid, did you happen to save a copy of exactly what it was before hand? Also, did you perhaps change anything else along with it?
David Richied
18,057 PointsDavid Richied
18,057 PointsI kind of figured out what is going on. WordPress seems to be looking at a different file called style.css?ver=4.2.4 (now style.css?ver=4.3) instead of just style.css. WordPress eventually updates the first file with the new information, but it does take a pretty long time to update. If you have used WordPress before, have you experienced anything like this or do your changes take effect immediately?
David Odum
1,860 PointsDavid Odum
1,860 PointsI'm experiencing this same thing. Is there any way to have the changes update immediately?