S
S
Skilful2212019-11-20 17:14:46
JavaScript
Skilful221, 2019-11-20 17:14:46

2 slick slidera how to split?

I have 2 slick slidera in the layout, I need to make padding 0 50px in the second of them when I set padding to the slick-slide class, both sliders have this padding, but only the second one needs it, I tried toggleClass added a class to slick-slide and I divided the sliders into different js files, I thought it would work, no padding, everything is the same for both sliders, tell me how can I separate them ??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zagoruyko Victor, 2019-11-20
@Skilful221

Wrap in blocks with different classes or id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question