call a gallery lightbox from a button

Hello

How can i call a gallery lightbox from a button.
The gallery should be hidden initialy and the click on the button or a link or a single image should open the related lightbox.

Thanks

Comments

  • Hello,
    All you can do is to display single image in the lightbox, please paste that code into the Muffin Builder's column item.
    [button title="Button" link="#you-custom-id" target="_blank" class="" download="" rel="lightbox" onclick=""]
    <div id="you-custom-id" style="display:none">CONTENT HERE</div>

    Thanks
Sign In or Register to comment.