Skip to main content
Lightbox Dialogue
Updated over a year ago

In BlueConic, a Lightbox dialogue is a content overlay that lets you highlight information for your customers or visitors. A Lightbox grays out the webpage and displays highlighted content in a box to stand out. Your customer or visitor has to close the lightbox before proceeding.

Here's an example of a lightbox that asks for a customer's email address:

How to use content overlays in lightboxes in BlueConic

Learn more: Visit BlueConic University

BlueConic University Logo.svg

Watch Creating a Lightbox Dialogue in the BlueConic University.

Configuring a BlueConic Lightbox content overlay

To create a new Lightbox dialogue, select Dialogues from the BlueConic navigation bar, click Add dialogue, and select "Lightbox" from the gallery. After creating the dialogue, open the What tab of your dialogue and navigate to the page where you want to add the lightbox. Click the Place on this page button to add the lightbox to the page:

How to configure a content overlay lightbox dialogue in BlueConic customer data platform

You now see an empty lightbox, ready to be edited.

How to create a content overlay lightbox dialogue in BlueConic

If you do not see the empty lightbox at first, try reloading the page to make it appear.

Adding content to a Lightbox

Lightboxes are very flexible, so to help you out we added some great templates to you get started. Click Load from Template in the Properties widget on the right, and you will get a gallery of starter templates:

Does BlueConic offer templates for creating content overlays and lightboxes?

You can edit existing templates by hovering over them and selecting the pen icon that appears, or you can design new templates with the Add new example button. In either case you are prompted to design the template using HTML, CSS, and JavaScript.

Select the template that fits your content best. The template is copied into your lightbox where you can now start editing like in the regular Text editor:

How to use templates in BlueConic to add content overlays

Note that the form is part of the content and can be edited as well! Click the field to modify the form.

The lightbox has categorized settings that can be selected from the settings pulldown menu in the Properties box on the right-hand side of the page:

How to show content overlays to customers and visitors in BlueConic

Lightbox Styling settings

How to add custom styles and templates for content overlays and lightboxes in BlueConic

These are the styling options:

When to appear settings

How to use custom CSS in BlueConic for lightboxes and content overlays

These are the timing settings:

How to appear settings

How to edit the appearance settings for a lightbox content overlay in BlueConic

These are the appearance settings:

Close settings

How to edit close settings for a content overlay lightbox in BlueConic

These are the close settings:

JavaScript settings

javascript.png

This is the JavaScript option:

Advanced settings

How to register conversions and click events from content overlay lightboxes in BlueConic

This advanced settings option is relevant when you want to register conversions for the lightbox. In order to be able to register a conversion, BlueConic needs to register a click event first:

Note that there are several instances where you do not need to specify a click event selector. See the What tab documentation for Dialogues for details.

Testing and troubleshooting dialogues

For tips on testing your dialogues with the BlueConic Simulator, see the video and tips in Testing Your Dialogues. Also see the troubleshooting dialogues section.

Did this answer your question?