So when I click on a variant image on the product page, the page jumps down a bit? Any solution for this as its not very user-friendly? This only happens on the desktop version.
Hello everyone, this is really a problem with the Brooklyn theme with the hide class of the first element, it happens when clicking on a different image from the first one, scrolling and clicking on the first thumbnail.
Here I have a solution that although it is not perfect, it allows to reduce the problem:
Add to the bottom of your theme.js file:
$(“.product-single__thumbnail”).click(function(){return $(“html, body”).animate({scrollTop:150},600),!1});
Hello, thanks for your sharing. It looks better. But do you have any idea about the variants? I find when clicking on a variant with the first image, it will jump down.