Home › Forums › WoodMart support forum › Disable auto open tab Disable auto open tab This topic has 9 replies, 3 voices, and was last updated 6 years, 6 months ago by Eric Watson. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts January 7, 2019 at 8:51 am #100287 pogopieParticipant How do I disable that the product tabs jump at me ? Attachments:You must be logged in to view attached files. January 7, 2019 at 12:29 pm #100362 Elise NoromitMember Hello, Add the snippet to the Custom JS section in Theme Settings: setTimeout(function() { var $tab = jQuery('.woodmart-tab-wrapper').find('a.active'); $tab.siblings('.wc-tab').hide(); $tab.removeClass('active'); }, 10); Best Regards January 7, 2019 at 12:37 pm #100370 pogopieParticipant And if I only want it to be executed on mobile phones ? January 7, 2019 at 12:57 pm #100382 Eric WatsonParticipant Hello, Try changing the previous code to the one I provided below. if ( $( window ).width() <= 1024 ) { setTimeout(function() { var $tab = jQuery('.woodmart-tab-wrapper').find('a.active'); $tab.siblings('.wc-tab').hide(); $tab.removeClass('active'); }, 10); } January 7, 2019 at 1:10 pm #100390 pogopieParticipant Does not work January 7, 2019 at 1:13 pm #100394 Eric WatsonParticipant Please, provide us your admin access so we can login and check this on your side. Thank you in advance. January 7, 2019 at 1:19 pm #100399 pogopieParticipant Its a multi site. Velomint CZ is the page. Attachments:You must be logged in to view attached files. January 7, 2019 at 1:25 pm #100404 Eric WatsonParticipant Hello, Try changing the previous code to the one I provided below. if ( jQuery( window ).width() <= 1024 ) { setTimeout(function() { var $tab = jQuery('.woodmart-tab-wrapper').find('a.active'); $tab.siblings('.wc-tab').hide(); $tab.removeClass('active'); }, 10); } January 7, 2019 at 1:45 pm #100409 pogopieParticipant yes! works perfect Thanks a thousend times January 7, 2019 at 1:47 pm #100411 Eric WatsonParticipant You are welcome! Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to create new topics. Login / Register