Home Forums WoodMart support forum Slider – Lightbox

Slider – Lightbox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #320663

    gcweb
    Participant

    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!

    #320755

    Luke Nielsen
    Keymaster

    Hello,

    If you want to open in the lightbox your background image, on the slider like there

    https://gyazo.com/101a356d062ab7c6087354dda57d65d5

    Unfortunately, we don’t have this feature for sliders like that ( link above ), and we don’t have any instructions for creating the lightbox with custom JS code.

    Kind Regards

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)