Currently, I have implemented the Slick Slider for my product loop in order to display the products in a slider format. However, upon the initial page load, there appears to be a significant white gap below the products. Interestingly, when I interact with the products by sliding them, the height adjusts back to normal. Has anyone encountered this issue before or know why this behavior occurs?
Here is the JavaScript code snippet:
$('.product-loop-home').slick({
dots: false,
infinite: false,
autoplay: true,
autoplaySpeed: 8000,
pauseOnFocus: false,
slidesToShow: 4,
slidesToScroll: 1,
});
Website URL:
Thank you for taking the time to assist!