Hello!
I have created a custom side menu and I’m having trouble getting the active menu item to show as red. I have the following entered in the child theme’s css:
.widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a {
color: #a81010 !important;
font-weight: normal !important;
}
Could someone please assist? Thank you so much!
Hey!
Please use following code
#top .widget_nav_menu li.current-menu-item a {
color: red!important;
}
You have used !important rule so many times in your custom CSS code so that might stop the code from applying. If that too does not work, please create a temporary admin login and post it here privately so we can look into it :)
Best regards,
Yigit
Worked perfectly, thank you Yigit :)