jquery – slick slider display last slide Only 2 post

Question

Hello guys is it possible

I’m using Slick slider

I have 5 post and per row display 3 post but i want next slide active only 2 post
Like: post 1, 2, 3, In the first slide then next slide show only 4, 5.

    <script>
    $('.slider').slick({
        dots: true,
        infinite: false,
        speed: 300,
        slidesToShow: 3,
        slidesToScroll: 3,
        responsive: [
            {
            breakpoint: 1024,
            settings: {
                slidesToShow: 3,
                slidesToScroll: 3,
                infinite: true,
                dots: true
            }
            },
            {
            breakpoint: 600,
            settings: {
                slidesToShow: 2,
                slidesToScroll: 2
            }
            },
            {
            breakpoint: 480,
            settings: {
                slidesToShow: 1,
                slidesToScroll: 1
            }
            }
        ]
    });

</script>

0
DK Thakur 4 months 2022-04-20T05:10:44-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse