Site logo

Archived topic

How to Stop Style.CC for Being Overrided

2 replies · Started by Blake on April 14, 2017

Viewing posts 1–3 of 3

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">

How can I override the theme's core style sheet editing the additional style.css sheet or the Child theme's style.css?

Accidentally had comment posted above CSS, and it commented it out
// Test comment

I see you got it fixed. Editing my reply.

This archived topic is closed to new replies.