Home Forums WoodMart support forum MOBILE MENU CLOSING TABS

MOBILE MENU CLOSING TABS

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #292686

    dimvarsa
    Participant

    Hello,
    When i open a new category tab on mobile menu the previous opened category doesnt close.
    Is there any possible way to fix this? All i want is that when i open a new category tab all the other tabs to close.I am using mobile menu at the header also.

    Attachments:
    You must be logged in to view attached files.
    #292737

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Please add this code to the Theme Settings > Custom JS > On the document ready:

    jQuery('.icon-sub-menu').on('click', function(){
    	var $siblings = jQuery(this).parent().siblings();
    	$siblings.removeClass('opener-page');
    	$siblings.find('> ul').slideUp(200);
    	$siblings.find('.icon-sub-menu').removeClass('up-icon');
    });

    Best Regards

    #292751

    dimvarsa
    Participant

    Still doenst work for some reason. The arrow from category is “closing” but the subcategories are still visible.
    Thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #292858

    Eric Watson
    Participant

    Hello,

    Please, provide us your admin access so we can log in and check this on your side.

    Thank you in advance.

    #293013

    dimvarsa
    Participant

    There you go.

    #293137

    Hello,

    Please provide your login URL.

    Best Regards

    #293306

    dimvarsa
    Participant

    This?

    #293591

    Hello,

    Please replace the code:

    jQuery('.icon-sub-menu').on('click', function(){
    	var $siblings = jQuery(this).parent().siblings();
    	$siblings.removeClass('opener-page');
    	$siblings.find('> .sub-menu-dropdown > .container > ul').slideUp(200);
    	$siblings.find('> ul').slideUp(200);
    	$siblings.find('.icon-sub-menu').removeClass('up-icon');
    });

    Best Regards

    #293685

    dimvarsa
    Participant

    Problem solved. Thank you very much. Keep up the good work.

    #293800

    We are always happy to help you, write to us when you have any difficulties or issues with our theme.

    We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service

    Thank you in advance

Viewing 10 posts - 1 through 10 (of 10 total)