Mobile menu not closed automatically
On tablet & phone, the responsive menu changes into the three stripes mode. But it's annoying that when I click one title, the menu list doesn't closed automatically, I have to click the menu again to close it. Is there a way to make it automatically closed upon click (touch)? Thanks!
Comments
we are sorry but we do not have such option included unfortunately.
Thanks for understanding!
$( 'li', menu ).unbind('hover');
$( 'li > .menu-toggle', menu ).off('click').on('click', function(){
var el = $(this).closest('li');
if( el.hasClass( options.hoverClass ) ){
el.removeClass( options.hoverClass )
.children('ul').stop(true,true).fadeOut( options.delay );
} else {
el.addClass( options.hoverClass )
.children('ul').stop(true,true).fadeIn( options.delay );
P.S. Like any other author, we are selling themes, not customization service. For customization are responsible website developers only.
Thanks!