Child Theme File CSS Not Working

We have a child theme setup and we edit the css in the file integrity-light.css? The only changes that will work is if we edit the parent theme css files. This is around the fonts and media query break point adjustments.

awxcode.com

Hi @verobeachmarketing,

Thank you for reaching out to us. No you don’t make CSS changes in the parent theme CSS files because all of your code changes will be overwritten when a theme update is released.

I checked your site and your child theme is setup correctly, to add your CSS in the child theme’s style.css file, go to Appearance > Theme Editor

image

This will open up the child theme’s style.css file by default, you can then add your CSS in there. If you have done it correctly and still the changes aren’t showing up is because you’ve cache plugin enabled and the content of your site is being served by the cache. After making changes always clear your plugin’s cache and the browser’s cache to see the changes on the front-end right away.

You can turn off your endurance cache in Admin > Settings > General. Caching plugins are best to turn on only when you’ve finished building the site.

To learn more about Child Themes please see https://theme.co/docs/child-themes

Hope this helps!

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