- This topic has 2 replies, 2 voices, and was last updated 4 years, 11 months ago by .
- The topic ‘Style.css – How to reference the latest version?’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hi, I'm slowly building my knowledge of css by using the inspection tool to change the default fonts for my blog posts.
I've successfully added code to functions.php to load the Google font families that I need (Oswald and Open Sans).
When I inspect my H1 font on a post I can see that it's pulling the attributes from style.css ver 1.1.4:269.
I've edited that file to change the family from 'Cormorant Garamond' to 'Oswald', but the changes don't seem to be taking effect. When I inspect, the source file still has the old attributes, even though I can see the changes I made when I go into style.css.
I understand that caching can be an issue, however I've tried ctrl-F5 on all sessions. I've also left it alone over the weekend. It is still referencing the wrong style.css.
There must e something simple I'm missing here...can you help me out?
Turn off W3 Total cache while you're developing. CTRL-F5 refreshes your browser cache on your local machine. W3 is a server cache. CTRL-F5 does nothing to refresh a server cache.
Thanks Victor, much appreciated. With the assistance of my wife I worked out it was the caching service provided by my host that was the issue. I thought it would have flushed over the weekend, but obviously not.
I figure I'll just disable it until I'm ready to go live.
© 2023 WPEngine, Inc.