Answer the question
In order to leave comments, you need to log in
How to not show arrow if there are less elements?
there is a slick slider
in it showing 3 elements , the
rest are shown by clicking on the arrows,
but when I have only 2 or 1 element on the page, they are still shown. BUT they are not needed in principle then
https://jsfiddle.net/k5oxdzcn/1/
Answer the question
In order to leave comments, you need to log in
Alternatively, delete before the slider is initialized:
https://jsfiddle.net/l2banners/9w5o2pnq/10/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question