How to highlight parent menu item when hovering over submenu item

Home / CSS / How to highlight parent menu item when hovering over submenu item

If CSS on your website works in a way where when hovering over any of the subitems, the main item loses the highlight (hover state), you could try using the following CSS:

Needless to say, it is up to you which styles to choose, but make sure that the ID (or class) matches the code on your website.