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