Home › Forums › WoodMart support forum › How to– › Reply To: How to–
July 5, 2021 at 6:15 am
#304478
Artem Temos
Keymaster
Hi,
1. Try to replace the custom JS code with the following
jQuery('.wc-tabs-wrapper .wd-accordion-title').on('click', function (e) {
e.stopPropagation();
e.preventDefault();
console.log(jQuery(this));
var $this = jQuery(this),
$panel = $this.siblings('.woocommerce-Tabs-panel');
if ($this.hasClass('active')) {
$this.removeClass('active');
$panel.stop().slideUp(300);
} else {
$this.addClass('active');
$panel.stop().slideDown(300);
}
jQuery(window).resize();
jQuery(document).trigger('wood-images-loaded');
});
2. Check how it works with the default WordPress theme. It looks like this scroll comes with some of the installed plugins.
Kind Regards