Product Tabs
URL to the page in question:
http://
-
When you click on the Additional Information tab (or the Reviews tab on the Demo site) it does NOTHING.
I’ve turned off all plugins except for WooCommerce, still doesn’t work.
When I witch to a different theme the Product Tabs work fine.
Hi Dana,
Sorry for the trouble there. It looks like a recent Woo update is not playing nicely with the smooth link scrolling that’s in the theme. Here’s how to change that:
- Go to the Appearance section in your WordPress dashboard and choose Edit.
- From the list of files on your right, choose custom-js.php and look for this spot:
// Smooth Scrolling
jQuery(function($) {
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
- Delete that and save your changes.
Refresh a product page and let me know if that doesn’t get it for you. We’ll roll that into an update for everybody.
Have a great week,
Bill
- The topic ‘Product Tabs’ is closed to new replies.