DUPLICATE: Lightbox not functioning correctly on sliders using loop setting

Wordpress Version: 6.5.2
Bricks: 1.9.7.1

Hey all,

So I’ve run into this issue that I haven’t noticed until now.

I have a nestable slider setup with images from ACF fields, and I’ve enabled the functionality for when the image is clicked to open it in a lightbox rather than opening the media item directly.

This works fine with the Fade or Slide setting. However, when I enable the Loop behavior (where the slider infinitely loops through the set of images). The lightbox for the initial set of images (5 total) work as expected, but when it begins to loop back through the images, all of the following looped images link directly to the media item, rather than opening them in a lightbox.

I made sure to assign a lightbox ID for all the images so they are associated with the same lightbox.

I also inspected the page, and I do see that the .bricks-lightbox class is present on the looped items, so not sure what causes the lightbox functionality to break once the images begin to loop.

Settings Screenshots:

440576752_10231608396183341_1138686754706981560_n

Hi David,
Unfortunately, the problem has existed for quite some time: WIP: Error in carousel

We are still trying to find a solution and will update the mentioned thread, as soon as it’s fixed.

1 Like