Tagged: x
-
AuthorPosts
-
September 27, 2016 at 11:43 pm #1193391
ChedyParticipantMy apologies, I have found the fix. I was over thinking the CSS and have found that missing out the .gallery class is the answer. So, for multiple galleries on one page, simply use [lightbox selector=”#gallery-1 a”] for the first, [lightbox selector=”#gallery-2 a”] for the second and so on.
I hope that helps someone else.
Thanks again for your quick response.
Hi Could you please elaborate on this solution found in
https://community.theme.co/forums/topic/using-lightbox-shortcode-in-combination-with-the-wordpress-gallery-shortcode-2/I have a problem with multiple galleries on the one post shuffles the images in lightbox what is the best way to identify each gallery and link it with the corresponding lightbox shortcode?
on this post, http://dailanpugh.com/2016/09/18/sand-cycles/
The edited gallery shortcode is below what am I missing?..
[gallery link="file" columns="4" ids="223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243"]
[lightbox selector=”.gallery-1 a”]September 28, 2016 at 2:45 am #1193526
RupokMemberHi there,
Thanks for writing in! Kindly follow this guide first – https://community.theme.co/kb/shortcode-walkthrough-lightbox/
However your code looks fine and it’s working on the given page. Would you clarify what’s not working?
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1193391 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
