• Hi,

    The Sub-menu doesn’t work on Mobile.

    When click the down button, it goes to main page instead of pushing the page content down.

    can you please advise?

    Thanks

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

Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Frederic,

    Thanks for posting a link. Your theme is using JavaScript to copy the desktop menu to the mobile menu, but it’s not copying the events. Ideally, your theme authors should clone the menu events as well as the html when copying the menu, and if the following does not work reliably that would be the next step.

    Please install The TC Custom Javascript Plugin, Then Go To Appearance > Custom Javascript And Add The Following:
    ?

    jQuery("a.mobile_toggle, a.mobile_toggle > span").on('click', function() {
        console.log('toggle icon clicked');
        setTimeout(function(){
            console.log('wait for mobile menu to fully appear and reinitialise max mega menu');
            jQuery('.max-mega-menu').maxmegamenu();
        }, 1000);
    });

    ?
    ?Note That If You Enqueue The Javascript Yourself, It Must Be Enqueued In The Footer Of The Page, After The Maxmegamenu.Js File.

    Regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘Sub-menu doesn’t work mobile’ is closed to new replies.