• Hello,

    I’ve created a custom gallery which is built with a combination of the Ajax load more plugin and Advanced Custom Fields.I’ve manually added data-featherlight=”image” to each so that it opens using the Lightbox. Each image currently opens in a lightbox however they aren’t grouped in any way so you need to click out of each lightbox in order to see the next one. I’m assuming I need to add a rel=”” attribute or something to group them all together. I’ve tried adding a gallery class to the divi and rel=”gallery” to each image but no luck.

    The template for each image is and I’ve added;
    <div class=”col-md-4 col-sm-6 col-12″>
    ” data-featherlight=”image”>
    ” alt=”<?php echo $image[‘alt’]; ?>” />
    </div>

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom gallery navigation’ is closed to new replies.