Tagged: main menu
Hi, how do i style the style the Current (Active) Menu Item in the main menu?
Hi GOWD!
Please add following code to Quick CSS in Enfold theme options under General Styling tab and adjust as needed
.current-menu-item span.avia-menu-text {
background-color: #c63c63;
padding: 5px;
border-radius: 5px;
color: white;
}
Cheers!
Yigit
Hi Yigit, thanks, that changes the text background.
I want to change the whole button background just like it changes on hover currently for the other menu items
Hey!
It does seem to work fine on my end – http://i.imgur.com/B1tmFDT.png
Have you figured it out already?
Best regards,
Yigit
Hey!
Please change the code to following one
li.current-menu-item>a {
background: #221365!important;
color: white;
}
Regards,
Yigit
Hi Kriesi,
fixed now, had to add an extra !important for the text color to work.
Would be a great help to add a styling option to replace this code to the advancing styling section.
You may close this thread.
li.current-menu-item>a {
background: #cf2115!important;
color: #fff!important;
}
Hi!
Please feel free to request or vote if already requested here – https://kriesi.at/support/enfold-feature-requests/
and let us know if you have any other questions or issues :)
Best regards,
Yigit