Hi,
I’m using Integrity and my mega menu doesn’t work anymore on mobile devices.
I have tried adding the following in Theme Options > JS
jQuery(function($) {
$(’.x-sub-toggle’).on(‘click touchstart’, function(e) {
e.preventDefault();
$(this).toggleClass(‘x-active’).closest(‘li’).toggleClass(‘x-active’);
});
});
But this code didn’t work for me?
Actually it made it worse and made all drop down menus stop working.
Do you have anything different to try?
Thanks, Scott