On my website I added product carousel using page builder. But there is an issue, when I change the screen desktop to ipad or iphone and iphone to desktop in browser. Product Slider of home page gets hide.

1 Answer 1


This below code helped me. Add this below code in your custom js file of your project.

    const $slider = $('.slick-slider'); 
        $(window).resize(function() {
            timeout = setTimeout(() => {
                $slider.slick('slickGoTo', 0);
            }, 100);

You can check below link https://github.com/kenwheeler/slick/issues/1808

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.