Lightbox PopUp With Image Carousel? - Question | JoomShaper

Lightbox PopUp With Image Carousel?

Melissa

Melissa

SP Page Builder 2 years ago

Just wondering if it's possible to have a lightbox feature with the images in the image carousel section from Page Builder?

If not, is there another way to achieve a strip of images that open in lightbox?

0
5 Answers
Pavel
Pavel
Accepted Answer
2 years ago #32180

Hi. Add in link field link to image with a slash before(!). And add your class.

If you use Helix, create custom.js file following Helix documentation. Add this code to custom.js replacing .custom-class to your own class.

jQuery(function ($) {
  $('.custom-class .sppb-carousel-extended-outer-stage').magnificPopup({
      delegate: 'a',
      type: 'image',
      gallery: {
          enabled: true
      }
  });
});
2
Melissa
Melissa
Accepted Answer
2 years ago #32183

Thank you! This worked like a charm.

0
Ariba
Ariba
Accepted Answer
Support Agent 2 years ago #32185

Thank you Pavel for sharing the solution, we appreciate your kind gesture.

Have a nice day!

0
Pavel
Pavel
Accepted Answer
2 years ago #32193

You are wellcome

0
BF
Belinda Frylinck
Accepted Answer
2 years ago #62481

Hello

I have the exact same problem. Pavel's workaround unfortunately did not work on my site. Any other workarounds please?

thank you

0