Site logo

Archived topic

change menu Item color

7 replies · Started by Stefan on November 3, 2022

Viewing posts 1–8 of 8

Hi,
how can I change the background color of a menu item individually while selected or hovered? the problem is, every single menu item shall get a specific color.
Thanks for help :-)

Hi,
thanks for the solution but I still have the button navigation. Now I need a solution for changing the color when I hover or select the buttom.

sure. link and user should be in private information

This selector should work for the hover:
.main-navigation .main-nav ul li.nav-button1:hover

And this should work for the current:
.main-navigation .main-nav ul li.nav-button1[class*="current-menu-"] > a

The selector is exactly what I need. Thanks a lot

No problem :)

This archived topic is closed to new replies.