Hi,
why in advanced styling is there no option to style the active page menu item button?
CSS I have entered for this not working for some reason.
The hover is working but not the text color of the current page item
/*this is css for enfold menu*/
/* color of active menu item */
.header_color .main_menu ul:first-child > li.current_page_item > a { background:#FFFFFF!important; color: #25aae1!important; }
/* hover color of active menu item */
.header_color .main_menu ul:first-child > li.current-menu-item > a:hover { background:#FFFFFF!important; color: #25aae1!important; }
so then I changed it to
/*this is css for enfold menu*/
/* color of active menu item */
.header_color .main_menu ul:first-child > li.current-menu-item > a { background:#FFFFFF!important; color: #25aae1!important; }
/* hover color of active menu item */
.header_color .main_menu ul:first-child > li.current-menu-item > a:hover { background:#FFFFFF!important; color: #25aae1!important; }
so that it said current menu item instead of current page item but no joy.
Hey GOWD!
That option is still in beta. Try adding this.
.current-menu-item .avia-menu-text {
color: black !important;
}
Regards,
Elliott
Thanks Elliot, that has resolved it.
/*this is css for enfold menu*/
/* color of active menu item */
.header_color .main_menu ul:first-child > li.current-menu-item > a { background:#FFFFFF!important; color: #25aae1!important; }
.current-menu-item .avia-menu-text {
color: #25aae1!important;
}
You may close this thread.