N
N
Novamoscow2017-03-13 14:12:03
css
Novamoscow, 2017-03-13 14:12:03

Custom arrows in the slick slider can be done on your class or ID?

Slick slider. I need to change the appearance of arrows and positioning. And this is all on several sliders on one page (something changes on each slider).

I made up the button and gave it a class. Is it possible to replace the standard buttons with my custom one.

PS It is to replace with a new element, and not to change the existing styles in the slick.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zbiten, 2017-03-13
@Novamoscow

prevArrow: $('.prev'),
nextArrow: $('.next'),

I
ian14, 2019-03-03
@ian14

If you make your own navigation buttons that you want to display in the place you need, then use
nextArrow in the slider settings: document.querySelector('#my-arrow-next'),
prevArrow: document.querySelector('#my-arrow-prev ')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question