Home Forums Basel support forum Compact product page design – closed by default

Compact product page design – closed by default

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

    GCMarketing Admin
    Participant

    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?

    #18607

    Artem Temos
    Keymaster

    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

    #18609

    GCMarketing Admin
    Participant

    Thanks Artem for your reply.
    It works perfectly! 🙂

    #18613

    Artem Temos
    Keymaster

    You are welcome!

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

The topic ‘Compact product page design – closed by default’ is closed to new replies.