Quantcast
Channel: XTemos » All Posts
Viewing all articles
Browse latest Browse all 39659

Reply To: Woocommerce tabs closed by default

$
0
0

Hello,

Thank you for contacting us.

By default, WooCommerce opens first tab when page is loaded. You can try to close it manually right after page loading by adding this code snippet to the Custom JS section in 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');
}, 10);

Regards


Viewing all articles
Browse latest Browse all 39659

Trending Articles