Home Forums WoodMart support forum Opening subcategories on tapping name in Mobile Menu Navigation (Hamburger)

Opening subcategories on tapping name in Mobile Menu Navigation (Hamburger)

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

    murat
    Participant

    For example, you can see below how we can open sub-categories when the name is touched in Mobile Menu Navigation (Hamburger). Also this is the Goya theme menu bar.

    https://goya.everthemes.com/demo-fashion/ (Mobil)

    • This topic was modified 1 year, 8 months ago by murat.
    #462044

    Artem Temos
    Keymaster

    Hello,

    Try to add the following code snippet to the Custom JS area on document ready in Theme Settings to do this

    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();
    });

    Kind Regards

    #462102

    murat
    Participant

    It worked great, thanks a lot. Overall a really nice theme.

    #462179

    Artem Temos
    Keymaster

    Thank you! Feel free to contact us if you have any further questions.

    Kind Regards

Tagged: 

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

The topic ‘Opening subcategories on tapping name in Mobile Menu Navigation (Hamburger)’ is closed to new replies.