Documentation, Reference Materials and Tutorials for Envira Gallery
Have you ever wanted to have your Envira gallery lightbox open from a simple text link? We’ve this easy with Envira! This tutorial will walk you through the steps needed.
Our first step is to create a new page or post. For this example, we’ll be working with a new page. Click on Pages » Add New and give a title to your page.
Next, copy the Envira Link from your gallery sidebar by clicking the clipboard icon and paste that shortcode into any page or post or widget-ready area on your site:
Your final page should look like this:
Publish your page to see the link on the page.
To see the gallery, simply click the link!
Would you like to do some more fun stuff with Envira? Have a look at our tutorial on How to Style Pagination Links to appear like buttons.
Q: Why are my buttons missing in lightbox?
A: You will need to make sure that the lightbox is enabled in the gallery that you are using with Envira Link. Simply check the lightbox option under the Lightbox tab of the gallery.
Q: What if I don’t want to use text for my link?
[envira-link id="381249"]<button>Click Me!</button>[/envira-link]
<p>Click the image below to launch the lightbox!</p>[envira-link id="381249"]<img src="path-to-the-image-you-want" alt="alt text here" width="140" height="73" />[/envira-link]