Answer the question
In order to leave comments, you need to log in
Remove the arrow from the last slide (slick slider)?
How to remove the arrow when loading / scrolling.
If for example:
on the right side there is no more where to scroll (last slide). right arrow missing?
Answer the question
In order to leave comments, you need to log in
.slick-prev.slick-disabled, .slick-next.slick-disabled
Slick adds the .slick-disabled classes to arrows if there are no further slides.
If I'm not mistaken, setting infinite: true does not add, since this setting allows slides to scroll through.
To remove the arrows completely, you need to set display: none for the above selectors, but do not forget about their pseudo-elements, they must also be hidden.
PS display: none as an option, you can hide it in any other way, visability, opacity, ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question