• Resolved Blasted

    (@blasted)


    I’ve been using the styles and styles twenty twelve plug ins with my site. I love the plug in as it makes it so much easier for someone like me with no coding ability.

    I recently changed the colour scheme of the site and for some reason the main menu background colour wont change. I can adjust it through the customize section and save it, but when you go out of that screen the menu colour reverts back to what it was before.

    Can you help please?

    http://www.benleephotogpaphy.co.uk

    https://wordpress.org/plugins/styles/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Clark

    (@pdclark)

    Your child theme has a background color set on the nav menu is that is overriding the Styles setting because of higher CSS selector specificity.

    Here’s a screenshot of how to find that in Chrome by right clicking on your menu, then selecting “Inspect Element”.

    The code in your child theme that’s doing this is in styles.css lines 72-77:

    .main-navigation ul.nav-menu {
        background: none repeat scroll 0 0 #F0942C;
        border: 0 none;
        padding: 0 0 0 0px;
        text-align: center;
        }

    Either edit the color manually there, or fix the Styles conflict by changing ul.nav-menu to .main-navigation ul.nav-menu in plugins/styles-twentytwelve/customize.json, then re-saving.

    Thread Starter Blasted

    (@blasted)

    Thanks, I was looking in the wrong place, all sorted now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu colour change doesn't stick’ is closed to new replies.