A
A
Alexander Rybakov2019-03-04 08:26:30
css
Alexander Rybakov, 2019-03-04 08:26:30

How to remove slick arrows on first or last slide?

There is such a slider: It is
5c7cb6b5b9219270446394.jpeg
necessary that the "prev" button becomes visible when the first slide is not visible in the slider. Accordingly, the "next" button. Removed when the last slide is visible in the slider.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dymok, 2019-03-04
@turkish777

$('.slider').slick({
// ...
infinite: false,
})

.slick-disabled {
  display: none;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question