Tabs Product Page Jump off after click
-
Hi together
When i click the tabs in the single product page the tabs jump off after the click and i must scroll again to the tab..its maybe possible that only a click open the tabs without the jump and the direct opening
Attachments:
You must be
logged in to view attached files.
Hello,
Please try adding the following Custom JS code in the Document Ready area under Theme Settings >> Custom JS then check back.
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');
});
Regards.
Xtemos Studios.
wow. many many thanks absolutely perfect support
Most Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘Tabs Product Page Jump off after click’ is closed to new replies.