Okay
  Public Ticket #2035671
Mobile menu sub items
Closed

Comments

  • Karl started the conversation

    Is it possible to only show first level menu items in the mobile menu by default? 

    We have a lot of sub menu items and the mobile menu is very long. Ideally we would like to show first level first and then if you click on one of these, then you get to see the corresponding second level menu items.

    Something like this https://demo.wpmobilemenu.com

  •  953
    Marc replied

    Hi Karl,

    this would be possible by adding additional JavaScript code. A web search should reveal some examples. I strongly recommend using a child theme to add additional JavaScript files. A prepared child theme folder is linked in the Dorayaki documentation. Here you can find more information on how to include your custom JavaScript file: https://developer.wordpress.org/reference/functions/wp_enqueue_script/

    Please understand that we cannot provide support for individual customizations.

    Best,
    Marc