Home Forums WoodMart support forum Drop-down submenu on the mobile version

Drop-down submenu on the mobile version

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #511587

    Chingiz
    Participant

    Hello,

    How to make the drop-down menu in the mobile menu open by clicking on the text in the menu and not on the icon?

    Attachments:
    You must be logged in to view attached files.
    #511651

    Hello,

    Try to create a main menu item with a custom link with “#” instead of URL and add the sub menu item.

    Then try to add this code in theme settings > custom js:

    jQuery('.mobile-nav').on('click', '.wd-nav-mobile li.menu-item-has-children > a', function(e){
       e.preventDefault();
       jQuery(this).parent().find('> .wd-nav-opener').click();
    });

    Best Regards.

    #511695

    Chingiz
    Participant

    Hello,

    Great! It works, thanks!

    #511868

    Most Welcome 🙂

    If you do not mind, can you please leave 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in future. It would encourage our work a lot. If you like our Theme and Support.

    Have a great day 🙂

    Topic Closed.
    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Drop-down submenu on the mobile version’ is closed to new replies.