Jump to content
Sign in to follow this  
maxquinn

Nav Background Colour on Inactive Pages won't Change

Recommended Posts

maxquinn

Hi, I've been trying all sorts of CSS in order to change the background colour on the navigation of http://www.allelements.co.uk/wordpress/ and it won't change at all. The active page is fine. When I set it to non drop down, it's correct, but as soon as I change it to drop down it goes to the dark grey. Any ideas how I change this? Thanks, Max.

Share this post


Link to post
Share on other sites
catrina
The drop down background is separate from the menu background, so you'll need to change it separately using a different CSS selector. Are you using Firebug to inspect and create the CSS?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
maxquinn
Hi Catrina thanks for the help. Yes I am using Firebug, but still can't find any way to change it at all. Since using Firebug I've managed to change everything easily enough but this one's just baffling me.

Share this post


Link to post
Share on other sites
catrina
Sorry, I misunderstand your issue the first time. To change the dark grey color, you'll need this: [code]li.page_item {background-color: #XXXXXX;}[/code] Change XXXXXX to the hex code for the color you want.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
maxquinn
Perfect thanks! That did the trick, did you manage to find that tag using firebug?

Share this post


Link to post
Share on other sites
catrina
Yes, you need to inspect the non-active page menu item (any item that isn't being currently viewed) and use the selector for the
  • (the link item) to change its background color: [img]http://i.imgur.com/Df7Tk.png[/img]

    Please read the docs before posting. Please do not private message me unless I ask you to.

    Designer | Catrina Dulay

    Founder | Catrina and Mouse

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    Sign in to follow this  

    ×