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?
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
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 :)
Sorry, I have tried this as well –
#top #header #menu-item-748 .current_page_item > a {
background: blue !important;
color: #fff !important;
}
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 :)
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
Perfect! Thank you so much :)
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon