disable scroll on product description
-
i saw in another post woh to disable a scrolling in description accordion. I update the code that you gaved in global CSS.
actualy when one accordion is open the other are closed. is it possible to open all accordion if we want and close only the accordion that we want.
Thanks
similar in private content
Hello,
Try to add the following code snippet to the Custom JS area on 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
Elise it’s perfect. You are the best! Thanks
Hello,
I will team our dev team that they are the best :)) You are welcome!
If you have any questions please feel free to contact us.
Best Regards
The topic ‘disable scroll on product description’ is closed to new replies.