Child Theme is loading an old styles.css file

Hello,

A while back I added some statements to my styles.css file located in the Child Theme root folder.

I moved the code out from the file and into the Global CSS in Theme Options.

I just discovered that X Theme is still loading an old version of the styles.css that has outdated code.

View Current File

View Old file that’s loading

How do I get X Theme to load the most recent version of this file?

Thanks,

Micah

Hi Micah,

Thank you for writing in, but I am not entirely certain of your issue, the link you provided above is pointing to a one file, and that style.css is empty.

It sounds like you’re having a caching related issue, please clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Cheers!

Hello Micah,

I have logged in and checked your style.css. There is no custom css in it. What you are experiencing could be just a caching issue. Since you have installed a caching plugin WP Fastest Cache, please clear your plugin cache before testing your site. This can cause the changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately. Caching plugins are best to turn on only when you’ve finished building the site.

Please let us know how it goes.

I disabled the cache before I did any testing. I’m not that green when it comes to this kind of work.

I can now see that it’s resolved. Perhaps something else was causing the issue.

Micah

Glad to hear it’s sorted, Micah.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.