You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there!
I am struggling to add a class to the current slides if you have multiple items enabled.
So far I found something like this:
function currentSlide() {
$('.item').removeClass('current');
$('.siema').find('.item').eq(this.currentSlide).addClass('current');
}
onInit: currentSlide,
onChange: currentSlide,
But this only adds the current class to one item. Since I am using a carousel with 3 items visible at once, I need to add the class to all of the items (which are visible). Is this possible? Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi there!
I am struggling to add a class to the current slides if you have multiple items enabled.
So far I found something like this:
But this only adds the current class to one item. Since I am using a carousel with 3 items visible at once, I need to add the class to all of the items (which are visible). Is this possible? Thanks in advance!
The text was updated successfully, but these errors were encountered: