Hi there,
You mean, hide the thumbnails and launch the lightbox by button?
I changed your content to this,
<div class="lightbox-group">[button type="flat" shape="square" title="Example" class="gallery-button"]Launch Me![/button]
[lightbox selector=".lightbox-group .gallery-item a"]
</div>
Then added this CSS and Javascript through Customizer.
.lightbox-group .gallery {
display: none;
}
and
jQuery ( function($) {
$('.lightbox-group .gallery-button').on('click', function() {
$('.lightbox-group .gallery-item:first-child a').trigger('click');
} );
} );
And please remove this CSS from your Cornerstone’s Custom Javascript.
.hide-img{display:none};
CSS is for CSS only.
Thanks!