Product Tabs

Support Area Forums Elite Product Tabs

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #32368
    Dana Gibson
    Participant

    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.

    #32371
    Bill Robbins
    Moderator

    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:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. 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;
      	      }
      	    }
      	  });
      	});
      
    3. 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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Product Tabs’ is closed to new replies.