Home Forums WoodMart support forum Tabs sections on product page

Tabs sections on product page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #216625

    nicolaj
    Participant

    Hi,

    Currently my description tab is open on product page.
    Is it possible to collapse all tabs by default?

    Also where do i manage short codes, for the content in custom tab.
    See attachment.

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

    nicolaj
    Participant

    Found the answer to use the Javascript to close after document ready.

    #216671

    Hello,

    I saw the screenshot you attached. Unfortunately there is no such option in Theme Settings to make the tabs closed by default.

    You can try adding the following Custom JS Code in the On Document ready JS area under Theme Settings >> Custom JS.

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

    2) You can manage the content in the HTML Blocks by editing the HTML block of the specific id from Dashboard >> HTML Blocks.

    Screenshot for Clarification: https://ibb.co/d43sPTF

    Regard’s.
    Xtemos Studio.

Tagged: 

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