How to trigger a lightbox

Last updated: August 2, 2021 Written by: Avatar Magdalena Wiśniowska
share
Table of contents
share
Table of contents

Lightboxes display as pop-up windows. They fill the screen and dim out the rest of your landing page. To add a lightbox to your landing page, follow the steps below.

Learn how to create a lightbox.

Add a lightbox to your landing page

Log in to your Landingi account and go to the editor of the landing page that you want to place the lightbox on.

Widgets that can trigger a lightbox are:

  • Button
  • Image
  • Icon
  • Text

IMPORTANT: An element triggering the lightbox can not be animated (see Animated elements guide).

Lightbox triggered by a button

1. Add a Button widget (from the left-side widget bar) that will trigger the lightbox when you click on it and go to its Settings.

2. Go to the Show lightbox (1) tab. Then select the lightbox from the drop-down list (2). You can also create a new lightbox by clicking on +.

3. Save and close.

4. Publish your landing page and check if the lightbox is displayed correctly.

Lightbox triggered by an icon or an image

1. Add an Icon or Image widget (from the left-side widget bar) that will trigger the lightbox when you click on it.

2. In widget settings in the left-side panel, scroll down, find the Click Action tab, and choose Show lightbox from the drop-down list.

3. Choose your lightbox or create a new one by clicking the + icon.

4. Publish your landing page and check if the lightbox is displayed correctly.

Lightbox triggered by text

1. Add a Text widget (from the left-side widget bar) that will trigger the lightbox when you click on it.

2. Highlight the text you want to be a trigger and click the link icon in the context menu (above the widget).

3. From the Link type list, choose Show lightbox.

4. Select your lightbox or create a new one by clicking the + icon.

5. Save and close.

6. Publish your landing page and check if the lightbox is displayed correctly.

share

Was this manual helpful?