Easy way to use image lightbox for Gutenberg Gallery?

Hi Guys, Is it possible to use X’s shortcode [lightbox] for gutenberg image gallery? I tried to use the guide in https://theme.co/apex/forum/t/shortcodes-lightbox/165

Sadly, it’s not working for this Guten pal. Can anyone shed some light about this? hopefully this is within the scope of Pro theme. :slight_smile:

Cheers guys

Hi There,

It’s possible, please add this lightbox shortcode below the gutenberg gallery:

[lightbox selector=".wp-block-gallery a"]

Hope it helps :slight_smile:

1 Like

GGGreeeeeeat!!! Thanks Thai!

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.