Hi,
I have build a menu using the new button mode. Is there a way to set the background color of the active selected menu item
I have found the a:hover
part but changing that to a:active doesn’t seem to have any effect
#top #wrap_all .header_color .av-menu-button-colored > a:active .avia-menu-text {
background: #8ec348;
color: #ffffff;
}
Thanks
Hey comotion_design!
Thank you for using Enfold.
I don’t see any button shortcode on the page. Can you please provide the link to the actual page with the button? You can try this on Quick CSS:
#top .main_color .avia-color-theme-color:active {
color: blue;
border-color: red;
background-color: orange;
}
Best regards,
Ismael
Hi Ismael,
You’re welcome…:)
Didn’t seem to have any effect – the website is hidden behind a ‘coming soon’ plugin but I can give you access if you need.
I’ve made a screen shot of what I’m after – the currently selected page is hightligted in the menu.
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
li.current-menu-item > a > .avia-menu-text {
background-color: green!important;
color: white!important;
}
Cheers!
Yigit
That did the trick… Thanks!