Home Forums WoodMart support forum Child Styles Not Working After Update Reply To: Child Styles Not Working After Update

#291990

Bogdan Donovan
Keymaster

Hi,

As indicated in Woodmart 6.0 change log, in our latest theme update we added automatic CSS generator which load parts of CSS styles only for elements which is placed on page. Since in that case some styles are loaded dynamically, they are loading after child theme styles. Having custom CSS code selectors with same specificity as theme selectors make styles placed below advantage over others.

To remove style order advantage custom CSS code selector need to have a higher specificity. In that case body tag at the beginning will be enough. More about CSS specificity can be found here (https://css-tricks.com/specifics-on-css-specificity/).

If you don’t want to use automatic CSS generator, you can turn it off by enabling “Combine CSS files” option in Theme Setting => Performance => CSS (http://prntscr.com/12ve3w2)

Kind Regards