Home › Forums › WoodMart support forum › ratings products › Reply To: ratings products
January 26, 2021 at 3:42 pm
#261555
Elise Noromit
Member
Hello,
Try to add the following code snippet to the Custom JS area on the document ready in Theme Settings to fix this issue.
jQuery('.wc-tabs-wrapper .woodmart-accordion-title').click(function (e) {
e.stopPropagation();
e.preventDefault();
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');
});
When you click the next tab, the previous one would remain open with this code. If you want the code where all the tabs are open, let us know, we shall provide, however, we do not guarantee it would be stable.
Kind Regards