Hi,
How can I go about including the lightbox popup for an image background?
For example; I have created a simple image slider (5 images), and have added the image URLs into the SLIDE LINK. I would like them to be able to open using the built-in Lightbox function?
How would I go about this?
I have looked at some existing uses where the Lightbox has been used, and I have added the following code to include the data reference, but that doesn’t seem to work.
$('.page').find('.wd-slider.lightbox .wd-slide').each(function(index, element) {
$(this).attr("data-elementor-open-lightbox", 'no');
});
Any assistance here would be great.
Thank you in advance!