Archived topic
menu stays highlighted
3 replies · Started by John MacKenzie on May 28, 2020
Viewing posts 1–4 of 4
further to this thread
https://generatepress.com/forums/topic/menu-stays-open/
the menu stays highlighted when a sub menu opens in a new tab. see video i sent by email.
thanks!
Hi John,
This is happening due to our accessibility script, which adds a class to the menu items when they are focused. This is so people using keyboard navigation are able to navigate your menu.
You can disable it like this:
.main-navigation .main-nav ul li.sfHover > a {
background: transparent;
color: inherit;
}
thanks!
You're welcome :)
This archived topic is closed to new replies.