Home Forums Basel – Premium Template Compact product page design – closed y default

This topic contains 3 replies, has 2 voices, and was last updated by Artem Temos Artem Temos 3 months, 2 weeks ago.

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

    Peter Laursen
    Participant

    Hi,

    I have seen som threads where it is possible to have all tabs on product page closed by default. I have insterted the following code, but it has no effect.

    Can you assist?

    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);

    Private Content Hidden
    #8620
    Artem Temos
    Artem Temos
    Keymaster

    Hello,

    We have modified this code a bit. Please check how it works now.

    Regards

    #8630

    Peter Laursen
    Participant

    Perfect 🙂

    #8633
    Artem Temos
    Artem Temos
    Keymaster

    You are welcome 🙂

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

You must be logged in to reply to this topic.