Home › Forums › WoodMart support forum › Activate new tab after clicking the button on description page › Reply To: Activate new tab after clicking the button on description page
addy
So all you did – simply copied the code you provided and inserted it.
Fuck you
I danced all the way doing backup and restoring just to provide the environment which proved that it is theme’s fault and you are responsible to fix this.
I don’t know but I want the entire code to be working as shown in the screen recording.
I don’t know how to optimize the code for woodmart 7.0 ( which is working for 4.5.2)
It is also not the responsibility of other plugin to keep optimising the plugin for newer versions of woodmart.
It is your responsibility to provide the fix of this part of the code below now..
if(jQuery('.woocommerce-tabs .cr-reviews-slider .slick-active').width() <= 0)
{ setTimeout(function () { if (jQuery('.woocommerce-tabs .cr-reviews-slider.slick-initialized:visible').length)
{ jQuery('.cr-reviews-slider').slick('setPosition'); } }, 200);
goTo( $('#storereviewsblock') ); } function goTo(el) { $('html, body').animate({ scrollTop: el.offset().top + '-400px' }, 'slow'); }