Home / Forums / WoodMart support forum / MOBILE MENU CLOSING TABS
Home › Forums › WoodMart support forum › MOBILE MENU CLOSING TABS
MOBILE MENU CLOSING TABS
- This topic has 9 replies, 3 voices, and was last updated 4 years, 5 months ago by
Elise Noromit.
-
AuthorPosts
-
May 16, 2021 at 12:15 pm #292686
dimvarsaParticipantHello,
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.May 16, 2021 at 3:58 pm #292737
Elise NoromitMemberHello,
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
May 16, 2021 at 5:46 pm #292751
dimvarsaParticipantStill 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.May 17, 2021 at 6:26 am #292858
Eric WatsonParticipantHello,
Please, provide us your admin access so we can log in and check this on your side.
Thank you in advance.
May 17, 2021 at 1:32 pm #293013
dimvarsaParticipantThere you go.
May 17, 2021 at 11:06 pm #293137
Elise NoromitMemberHello,
Please provide your login URL.
Best Regards
May 18, 2021 at 12:29 pm #293306
dimvarsaParticipantThis?
May 19, 2021 at 9:00 am #293591
Elise NoromitMemberHello,
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
May 19, 2021 at 1:59 pm #293685
dimvarsaParticipantProblem solved. Thank you very much. Keep up the good work.
May 19, 2021 at 11:29 pm #293800
Elise NoromitMemberWe 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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register