After 6.3.0 Update “Custom JS” Code not working..
-
I want DESCRIPTION Tab Close by Default…
Before i used this code
if (jQuery(window).width() <= 768) {
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);
}
Today i update theme to 6.3.0 Now this above code not working..
OLD Topic
https://xtemos.com/forums/topic/want-single-product-page-all-tabs-close/
Hello,
Try to use the following custom JS code instead
if (jQuery(window).width() <= 768) {
setTimeout(function() {
jQuery('div[data-accordion-index="description"]').trigger('click');
}, 10);
}
Kind Regards
Yes Its Worked Thank You!
The topic ‘After 6.3.0 Update “Custom JS” Code not working..’ is closed to new replies.