How to keep a background color on a menu item hover while in its dropdown

Im currently using a:hover but obviously the background color only stays while hovering the item. Can i somehow keep it while beeing in the dropdown i have made from it?

It depends on the structure of your menu.
If it is using nested lists you can apply the :hover to the li which parents the sub-list rather than the a.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.