[Support request] Mobile main menu without link closes main menu rather than open submenus

Home Forums Support [Support request] Mobile main menu without link closes main menu rather than open submenus

Home Forums Support Mobile main menu without link closes main menu rather than open submenus

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #966851
    Steve

    Hi Folks,

    The mobile menu system of GeneratePress has a behavior I’d like to change. Here’s our site and the repro sequence.

    https://healthinharmony.tech
    Password: orangutan

    1. View mobile version by making browser narrow.
    2. Tap Menu to open the mobile menu.
    3. (If you’re on desktop, ignore the fact that hovering opens the submenus. Or try this on mobile.)
    4. Tap on “Our Work”.
    5. Menu system closes and nothing happens.

    The “Our Work” menu does not have a link. Its purpose is only to group together the sub pages.

    What I’d prefer instead is that tapping on “Our Work” opens up its submenu. Or alternatively, tapping on “Our Work” would do nothing at all, leaving you to tap on the downward arrow to open up the submenu.

    I’m thinking this functionality is governed by javascript, and so the solution is likely adding some javascript.

    We’re launching in the next day or two, and your help is much appreciated.

    Best,

    Steve

    #967149
    Leo
    Staff
    Customer Support

    Hi there,

    Can you try adding # to the parent menu item URL?
    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-link

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