Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #933728

    Hi there,

    My drop-down menu items, when active, disappear against the white background, and I’m having trouble teasing out how to make this change without changing anything else. I’d like the background of the active sub-menu item to be blue (#7ea6ba, see screenshot #2), and currently the background is white (see screenshot 1). Can you help?

    #933891

    Hey 1lizcollins,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    
    #top #header .current_page_item > a {
    background: #7ea6ba!important;
    color:#FFF!important;
    }
    

    Best regards,
    Vinay

    #1072117

    Hello
    I’m trying to change the background color of just one custom button in the secondary menu when active. The button is –

    #menu-item-748

    I tried this –

    #top #header #menu-item-748 a:active {
    	background: blue !important;
    	color: #fff !important;
    }

    But to no avail. Please help me target just this one item :)

    #1072118

    Sorry, I have tried this as well –

    #top #header #menu-item-748 .current_page_item > a {
    	background: blue !important;
    	color: #fff !important;
    }
    #1073666

    Hi webWahine,

    It is working on my end now.
    Image 2019-03-02 at 18.31.23.png

    Could you please clear the cache, check again and get back to us.

    Best regards,
    Victoria

    #1073677

    So sorry for the confusion but that’s not my site! I jumped on this post to ask the same question, but using menu-item-XX to target a specific button..
    On the contact page (in private content) I want the ‘FREE CONSULTATION’ button in the secondary menu to be another color when active. It’s menu-item-748.

    Thanks, again :)

    #1074337

    Hi webWahine,

    You can use this css code:

    #top #header #menu-item-748.current-menu-item > a {
        background: blue !important;
        color: #fff !important;
    }

    Best regards,
    Nikko

    #1074503

    Perfect! Thank you so much :)

    #1074571

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Change active secondary menu item background color’ is closed to new replies.