Child-theme won't load style.css

Hey there,

After upgrading to the latest version of X our website styling was broken so we tried to find a solution but…

It seems that our child-theme does not load style.css anymore.

We did a little research over here and someone suggested that if we had anything in the Customizer, to remove it and to put all mods within style.css.

We did have some snippets in the Customizer so we deleted them and imported everything into our child-theme style.css.

Unfortunately this did not help at all as none of our CSS was loading at all.

The only temporary workaround we found was to copy everything we had in our child-theme style.css over to the theme Customizer.

I’m just wondering is there a way to go back to editing in style.css? We find it easier to follow the code there.

Thank you!

Hi There,

Thank you for writing in, I think you did restore your X to v4.6.4. I suggest you duplicate your site on a staging server and do the updating there first.

First update your Wordpress to the latest version, if its not already updated.

Updating WordPress

Then update the X and Cornerstone to the latest versions (X5.2.3 / CS 2.1.4)

Updating Your Themes and Plugins

You need to install the new child theme as well because your current child theme is out date, most likely this is the cause of your child theme’s style.css not loading issue.

Child Themes

Then moved all your customization/styling from the old child theme to new child theme. When finish moving the child theme, activate the new child theme and delete the old one.

Remember to clear all caches (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.

Let us know how it goes,
Cheers!

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