Tabs sections on product page
-
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.
Found the answer to use the Javascript to close after document ready.
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.