Answer the question
In order to leave comments, you need to log in
How to make white stripes on the sides of slides in Slick Slider?
Hello, I have a Slick slider with images of different sizes. How can I make the slide stay the same height, just white stripes appear on the sides. Here is the slide code:
$('.popup__slider').slick({ // Подключение Slick Slider
adaptiveHeight: true,
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
fade: true,
asNavFor: '.popup__slider_nav',
responsive: [{
breakpoint: 560,
settings: {
arrows: true
}
}]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question