Hello,
I’m trying to get the background of the sub menu to alternate colour with an n-th:child rule but without much luck – I suspect it’s being overwritten somewhere.
Any ideas?
Cheers,
Ed
Hi aspectgroup!
You can use menu item ID’s in your code as following
li#menu-item-220:hover a {
background-color: red!important;
color: white!important;
border-color: orange!important;
}
Please add the code above to Quick CSS in Enfold theme options under General Styling tab. You can right click on Chrome or Firefox to inspect elements to find ID’s http://i.imgur.com/HyPTCRg.jpg
Best regards,
Yigit
Cheers, I will give that a go.
Can you only do it via indivudual menu items or can you style it via nth-child/nth-of-type?