[Resolved] menu stays highlighted

Home Forums Support [Resolved] menu stays highlighted

Home Forums Support menu stays highlighted

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1305610
    John MacKenzie

    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!

    #1306604
    Tom
    Lead Developer
    Lead Developer

    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;
    }
    #1306754
    John MacKenzie

    thanks!

    #1307064
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.