Archived topic
How to Stop Style.CC for Being Overrided
2 replies · Started by Blake on April 14, 2017
I am looking to manually modify some CSS styling on the navigation menu etc. When I add the CSS code to the themes style.css or the Child theme's style.css it will not override what is listed in the core theme's style sheet.
For example:
Modification added in style.css
.main-navigation {background-color:green;} // Does not take affect and is overwritten
Theme's Original Code
<nav itemtype="http://schema.org/SiteNavigationElement" itemscope="itemscope" id="site-navigation" class="main-navigation">
Accidentally had comment posted above CSS, and it commented it out
// Test comment
I see you got it fixed. Editing my reply.