I
I
imhlux2018-04-19 17:47:31
css
imhlux, 2018-04-19 17:47:31

Adding a class to the active elements of the OWL Carousel???

There is a carousel with 3 active elements, you need to give styles to the 1st (active) and 3rd (active)
how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2018-04-19
@webinar

var ac = $('.someClass.active');
ac[0].css({color: 'green'});
ac[2].css({color: 'red'});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question