Answer the question
In order to leave comments, you need to log in
How to enable Slick navigation dots when there are few slides?
Good night all. I'm trying to make such a slider using Slick :
there will be only three articles in the slider. And there should be navigation in the form of dots. In Slick's settings I wrote
slidesToShow: 3,
dots: true
Answer the question
In order to leave comments, you need to log in
Because slidesToShow: 3 says that you have 3 slides displayed at the same time, since you only have 3 slides, then slick displays everything completely. Change the parameter value to 1
slick dots are generated in the dom based on the number of slides. if there are no slides, then there will be no points. as an option - you can make blank slides
How?
1) Make a deep copy of the Slick object.
2) Redefine methods for working with points.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question