[Resolved] How to Stop Style.CC for Being Overrided

Home Forums Support How to Stop Style.CC for Being Overrided

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #305868
    Blake

    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&#8221; 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?

    GeneratePress 1.3.46
    GP Premium 1.2.96
    #305874
    Blake

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

    #305875
    Jamal

    I see you got it fixed. Editing my reply.

    Agressively support the kind of work you want to see. Buy it. Talk about it. Review it.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.