Can't change the current/hover background colour

  • MsCrow

    #1103

    Hello

    I have created and am editing a child theme for http://www.ey2p.org/dev

    As you can see the current menu item and any menu item you hover over have a black background. For the life of me, I can’t find where to change this, please help!

    Thank you

    Kim

    #14598

    Here is the active one:

    #nav .menu li.current_page_item > a, #nav .menu li.current_page_ancestor > a, #nav .menu li.current_page_parent > a, #nav .menu li.current-menu-item > a, #nav .menu li.current-menu-parent > a, #nav .menu li.current-menu-ancestor > a, #nav .menu li.current_page_item > a:visited, #nav .menu li.current_page_ancestor > a:visited, #nav .menu li.current_page_parent > a:visited, #nav .menu li.current-menu-item > a:visited, #nav .menu li.current-menu-parent > a:visited, #nav .menu li.current-menu-ancestor > a:visited {
    background: none repeat scroll 0 0 #000000;
    color: #DFEDFF;
    }

    Just thinking CSS 🙂

    https://forum.graphene-theme.com/topic/firebug-essential-for-cssing-wordpress

    Kim

    MsCrow

    #14599

    Thanks for your reply. I changed color to background-color, as I already had, and failed to see why it didn’t alter the black. Adding the !important tag made the difference though! I suspect I also need the !important tag for the sprite_h image. I use an altered one but the stylesheet kept referring back to the one in the graphene folder.

    MsCrow

    #14600

    Just one more question. The child pages, when hovered over, turn grey. All except ‘events’ which belongs to ‘universal training’. Any idea why?

    MsCrow

    #14601

    And one very last question…what causes the large space below the post and right-hand menu? All I can find is a padding reference of 20px but it looks much larger than that.

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.