Home Forums WoodMart support forum How to default product tabs to close.

How to default product tabs to close.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #506536

    cmdtung
    Participant

    By default Product Tabs in WooCommerce auto opens the first one. Is it possible to have them all closed by default?

    FYI, I use elementor pro to disable most tabs except review in the single product page design(Single product layout – Baby Accessories — Elementor)

    I have tried to put the following JS code in the Theme–>Setting–>Custom JS but it does not worked.

    setTimeout(function() {
    var $tab = jQuery(‘.woodmart-tab-wrapper’).find(‘a.active’);
    $tab.siblings(‘.wc-tab’).hide();
    $tab.removeClass(‘active’);
    }, 10);

    Attachments:
    You must be logged in to view attached files.
    #506627

    Luke Nielsen
    Keymaster

    Hello,

    In the “Style” tab set it as “All closed” here: https://prnt.sc/KYhl3LN03-Nz

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #506883

    cmdtung
    Participant

    Thanks a lot.

    #507021

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! In case you need any additional help, I’d be more than happy to assist you.

    Wish you all the best.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to default product tabs to close.’ is closed to new replies.