Answer the question
In order to leave comments, you need to log in
Is it possible, when resizing slick-slider, to specify not the number needed for the breakp. slides, but to make its parent with overflow:hidden effect?
It is written and understandable, I will explain in the pictures: There is such a slider:
I need to fit exactly as many slides when resizing the page as it can fit in the parent block (and with the overflow: hidden effect)
something like this:
Answer the question
In order to leave comments, you need to log in
As I understand you need:variableWidth: true
$('...').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 1,
variableWidth: true
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question