Searching our knowledge base for the answer...

Wix Editor: Adding and Setting up a Lightbox

5 min read
Add a pop-up lightbox to grab your visitors' attention and showcase important announcements and information. You can add elements to the pop-up message, decide when it's triggered, and even choose how visitors close it.
A GIF showing a lightbox popping up on a Wix live site.

Step 1 | Add a lightbox

Add a lightbox to begin creating something interactive and informative for your site visitors. There are a range of templates and types to choose from, such as "Welcome" and "Contact".

To add a lightbox:

  1. Click Add Elements   on the left side of the editor.
  2. Click Interactive.
  3. Select a category under Lightboxes.
  4. Click or drag your chosen lightbox to add it to your site.
The 'Add Elements' panel in the Editor. The lightbox tab is open.

Step 2 | Customize your lightbox

Next, start building the lightbox and designing the way it looks. You can customize existing elements and add elements like text, buttons, forms, images and much more. Make sure that the elements you add are smaller than the lightbox so that they fit inside of it.

To add elements to a lightbox:

  1. Click Pages & Menu  on the left side of the editor.
  2. Click Lightboxes.
  3. Select the relevant lightbox to view it.
  4. Click the lightbox on the canvas.
  5. Start customizing your lightbox:
    • Add more elements.
      Tip: When dragging the element from the Add Elements panel, drop it when you see the "Attach to Lightbox" message.
    • Click existing elements to edit them. 
    • Change the lightbox background and the overlay around it. 
Note:
When you add a lightbox, you enter Lightbox Mode. This allows you to set up and edit your lightbox. To go back to the regular editor, click Exit Mode on the top bar.
The Add Elements panel in the Editor. The Editor is in Lightbox mode, and the cursor is hovering over a text element.

Step 3 | Adjust the lightbox settings

After designing your pop-up message, decide when, where and how it appears to visitors. You can set the lightbox to show automatically once the page loads, or link it to an element that visitors need to click.  
You can also schedule your lightbox to appear at a certain time (e.g. a specific holiday season), and decide how visitors exit the lightbox. 

To adjust the lightbox settings:

  1. Click Pages & Menu  on the left side of the editor.
  2. Click Lightboxes.
  3. Select the relevant lightbox to view it.
  4. Click the lightbox on the canvas.
  5. Click Set Triggers.
  6. Adjust the lightbox settings:
The settings panel of a lightbox. The cursor is hovering over the delay field.
What's next?
Customize your lightbox's design and position to further personalize your site's announcements. Learn how to customize a lightbox

FAQs

Click below to read answers to our most frequently asked questions about lightboxes:

Did this help?

|