Hello,
Thank You so much for reporting this to us! However, unfortunately, we have noticed that this is something which cannot be avoided currently since the Carousel Plugin generates Cloned Images for some reason to make the loop work. There are 2 workarounds for this:
- (Recommended) You can consider disabling clicking on the Cloned Images to avoid this issue altogether by adding the following CSS Code:
.owl-item.cloned { pointer-events: none; }
- (Not Recommended) You can enable the Lightbox Gallery on the Cloned Items but this will cause duplicate images in the Gallery. You can simply find and delete the following code in the js/functions.js File:
if( element.find('a[data-lightbox="gallery-item"]').parent('.clone').hasClass('clone') ) {
element.find('a[data-lightbox="gallery-item"]').parent('.clone').find('a[data-lightbox="gallery-item"]').attr('data-lightbox','');
}
if( element.find('a[data-lightbox="gallery-item"]').parents('.cloned').hasClass('cloned') ) {
element.find('a[data-lightbox="gallery-item"]').parents('.cloned').find('a[data-lightbox="gallery-item"]').attr('data-lightbox','');
}
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.