Compact product page design – closed by default
-
Hello Artem,
I would like to have all the tabs on the compact product page design closed by default – could you share with me the code that needs to be used and in what file?
Hi,
Try to add the following snippet to the Custom JS section in your Theme Settings
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);
Regards
Thanks Artem for your reply.
It works perfectly! 🙂
The topic ‘Compact product page design – closed by default’ is closed to new replies.