Reputation: 511
I want to change the opacity of the current slide but I don't have the class to play with in the HTML...
This is what I see:
<div class="g_product__wrapper slick-slide slick-cloned slick-active" data-slick-index="6" aria-hidden="false" style="width: 251px;">
... there is no slick-current ...
Any idea will be appreciated!
Cheers!
Upvotes: 0
Views: 965
Reputation: 511
Ok... Center Mode to true and used .slick-center instead of .slick-current. Did the trick for me.
Thanks!
Upvotes: 0
Reputation: 682
The current slide has the below class
.slick-current
Or try below if you are targeting all visible slides
.slick-active
Upvotes: 1