Answer the question
In order to leave comments, you need to log in
Why does slick slider work like this?
Hey!
Someone met with the work of this slider?
Work example
$slick.slick({
slidesToShow: 1,
slidesToScroll: 1,
fade: true,
prevArrow: '<a href="javascript:void();" class="b-slider-blog__carousel-control b-slider-blog__carousel-control--left carousel-control left"></a>',
nextArrow: '<a href="javascript:void();" class="b-slider-blog__carousel-control b-slider-blog__carousel-control--right carousel-control right"></a>',
asNavFor: '.js-blog-slider-nav',
});
$('.js-blog-slider-nav').slick({
slidesToShow: 12,
slidesToScroll: 1,
asNavFor: '.js-blog-slider-for',
dots: false,
arrows: false,
centerMode: true,
focusOnSelect: true,
infinite: false
// variableWidth: 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