A
A
angry_yum2018-02-20 23:47:30
JavaScript
angry_yum, 2018-02-20 23:47:30

Adapt slick slide?

Hello, how can I make the slider change when the screen size is reduced from such 5a8c88bbd986b502821457.png
To such 5a8c893477f7e747203285.png
Tobish so that two sliders become one.
I apologize if the question was crookedly formulated, I'm just learning in this direction.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DmitriySwan, 2018-02-21
@angry_yum

I think something like this:

$('.gallery').slick({
            slidesToShow: 2,
            slidesToScroll: 2,
            responsive: [
                {
                    breakpoint: 768,
                    settings: {
                        slidesToShow: 1,
                        slidesToScroll: 1
                    }
                }
            ]
        });

PS I hope everything is clear :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question