Thanks for writing to us.
I tested it at my local development server it is working fine for me. My WordPress version 5.7.1 X theme version 8.3.3 and Cornerstone 5.3.3.
To make a single image with a lightbox I have used this shortcode in the Text element.
[image class="lightbox-01" src="http://example.com/wp-content/uploads/2012/01/the-word-01.jpg" alt="app list" link="true"]
For the gallery, I have created a default WordPress gallery. To create a gallery you need to click on the Add Media button —>Create gallery
Now you need to set the image size column. Please note you need to set the “Link To” as “File”.
It would add a shortcode in your content for the gallery.
[gallery columns="4" link="file" ids="2029,2028,2027,2018,2017,2016,2015,2014"]
After adding the gallery you need to add this shortcode to make the image open in a lightbox on click event.
[lightbox selector=".gallery a"]
If it doesn’t work for you, please make sure your theme, plugin, and WordPress core are updated as per our version compatibility page.
I would suggest you troubleshoot with a few of the common issues before we investigate your settings.
- Testing For Theme Related Issue
- Testing For Plugin Conflict
- Theme Update
- Child Theme
- Css/Js Customization
- Increasing Php Memory Limit
- Disabling Cache
- Disabling Cdn
- Version Compatibility
If none of those work, It would be best if you could copying your live website to your staging area. and send your details in a secure note so that we can investigate your setting without breaking your live site. Please provide the following details
- WordPress Login URL
- Admin level username and password
- FTP Details
You can find the Secure Note button at the bottom of your posts