• Resolved Mark

    (@cybertech537)


    jQuery(document).ready( function( $ ){
    
        $('.bar-icon').on('click', function (e) {
    
            $(this).toggleClass('active-bar');
            $('.max-mega-menu').data('maxmegamenu').showMobileMenu();
            $('.max-mega-menu').data('maxmegamenu').hideMobileMenu();
            
        })
    
    })

    Hi, I would like to add a custom trigger button to show/hide the max-mega-menu on mobile. I have read the documentation carefully and have written the code but it doesn’t work.

    • This topic was modified 3 years, 3 months ago by Mark.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Max-mega-menu custom trigger doesn’t work’ is closed to new replies.