Skip to content
Discussion options

You must be logged in to vote

Hey there @mGumberson

To make multiple galleries you would do like you have in the last example, but with the elements property.

Here's a pen that demonstrates what I mean: https://codepen.io/gingerchew/pen/XJJQBdg/87dc29ec16a655ef1b09ceed1c235756?editors=0010

Instead of looking for a selector, you just have multiple "instances" of GLightbox, each one in charge of controlling a single gallery.

Hope that helps!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mGumberson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants