Hi I have added the following to make my mobile menu collapse when a menu item is clicked
jQuery(document).ready(function($){
$(’.menu-item a’).click(function(){
$(’.x-nav-wrap.mobile’).removeClass(‘in’);
});
});
This works perfectly - BUT when a sub menu item is clicked it collapses so the sub menu item can’t be seen, any ideas?
Thank You