R
R
Ratibor2018-02-15 07:06:52
css
Ratibor, 2018-02-15 07:06:52

Slick slider, how to make text appear on autoplay?

Good time of the day! How can I make the text appear on the slide in autoplay mode, for the left and right buttons I made it appear with a delay, but I don’t understand how to catch autoplay? Here is the link https://ratibor1978.github.io/clinic-paracelsus/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2018-02-15
@RatiboR1978

The slider assigns the class slick-active to the active slide. For a text element, you can set, for example, opacity: 0, and with the active slide (.slick-active .text-elem) opacity: 1
https://jsfiddle.net/0qm76quh/6/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question