Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi,
I am using Vantage Premium. I have been able to change the hover color, but I was wondering how to make the hover color for each menu item different. For example, Home- Yellow, About Us- Green, Candidate- Purple, Employer- Orange, Positions- Blue.
Any help would be great.
Thanks!
Maggie
Hi Maggie
The container for each element in the menu has a class that corresponds to the page ID. For example, your about us page item has the class page-item-5. So the following CSS would give the About Us menu item a different hover color.
.main-navigation ul li.page-item-5 > a:hover { background-color: #00FF00; }You’d need to apply the same theory for all the other items. This guide should help you use the inspector to find the class names for each menu item – https://siteorigin.com/basics/modifying-theme-design-with-custom-css/ (I just noticed the images are broken on this page, I’ll fix that up shortly, but you can just check out the video so long).