Change Color of a Single Selection on Navigation Bar

Community Forums Forums General Discussion Change Color of a Single Selection on Navigation Bar

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  Captain Dynamo 1 year, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38715

    Captain Dynamo
    Participant
    Post count: 15

    Hi there,

    I’m wondering if somebody could help me. The website I’m working on can be found at http://www.e-v-a.co.nz

    I’m wanting the change the “Apply Now” button on the navigation bar to have a background color of red, while leaving the rest of the navigation bar grey.

    I am using the Enterprise Child Theme.

    Regards,

    Akio.

    http://www.e-v-a.co.nz
    #38727

    Anita
    Participant
    Post count: 7510

    The menu items is ID 163. So add this to you style.css. Change the background color to the color you want.

    [css]#menu-item-163 {
    background-color: #cc9900;
    }[/css]


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #38728

    colson
    Participant
    Post count: 145

    You can go into the custom menu and add a class to that menu item. But without doing that you can use firebug and find the class that WordPress is giving it and do this. You can change red to the hexadecimal color you would like.

     

    .menu-item-163 {
        background: red;
    }

    #38880

    Captain Dynamo
    Participant
    Post count: 15

    Wow!

    So easy, thank you so much guys!

    All resolved.

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

You must be logged in to reply to this topic.