Home › Forums › Basel support forum › Woocommerce tabs closed by default Woocommerce tabs closed by default This topic has 5 replies, 2 voices, and was last updated 6 years, 8 months ago by Artem Temos. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts August 25, 2017 at 11:58 am #18093 SublevelParticipant Hi, can you please help me with the Woocommerce tabs. I would like to have all woocommerce tabs on the single product page closed by default. I already found a solution in this forum, but this does not work for me. I have tried this: setTimeout(function() { var $tabs = jQuery( ‘.wc-tabs, ul.tabs’ ).first(); $tabs.parent().find(‘#tab-description’).hide(); $tabs.parent().find( ‘.tab-title-description’ ).removeClass(‘active’); }, 10); Regards August 25, 2017 at 12:20 pm #18101 Artem TemosKeymaster Hi, Have you added the code to the Custom JS section so we can check it on your website now? Regards August 25, 2017 at 12:23 pm #18103 SublevelParticipant yes i have August 25, 2017 at 12:24 pm #18104 Artem TemosKeymaster Try to replace with this one setTimeout(function() { var $tabs = jQuery( '.wc-tabs, ul.tabs' ).first(); $tabs.parent().find('#tab-description').hide(); $tabs.parent().find( '.tab-title-description' ).removeClass('active'); }, 550); August 25, 2017 at 12:26 pm #18105 SublevelParticipant works perfect! Thank you August 25, 2017 at 12:55 pm #18108 Artem TemosKeymaster You are welcome! Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to create new topics. Login / Register