Lightbox

The Elementor Lightbox opens images, galleries, carousels, and videos in a 100% mobile responsive lightbox popup window


The lightbox feature is turned on by default. You can switch it off by going to Dashboard > Elementor > Settings > Style, and uncheck the checkbox.

You can also turn the lightbox on or off globally and customize the lightbox design in the following way:

  1. Click the hamburger icon located in the upper left corner of the panel, and choose Global Settings.
  2. Choose the Lightbox tab.

The Global Lightbox tab enables you to adjust the following settings:

  1. Image Lightbox: Slide the switch to enable or disable the lightbox globally.
  2. Counter: For multi-image galleries only. If set to Yes, adds an image count to the upper left corner of the lightbox. For example, if the gallery contains 6 images, the counter will display 1/6, 2/6, etc. to indicate “First of 6 images”, “Second of 6 images”, etc.
  3. Fullscreen: If set to Yes, adds a clickable icon to allow user to open the image in a full screen lightbox.
  4. Zoom: If set to Yes, adds a clickable icon to allow user to zoom in on the image in the lightbox. Once you zoom into an image, you’ll be able to pan the view and scroll across the different areas of the image.
  5. Share: If set to Yes, Share capabilities are added to the lightbox, allowing the user to share the image on Twitter, Facebook, and Pinterest, or download it to their computer.
  6. Title: Optionally display a title under the image in the lightbox. Select from None, Title, Caption, Alt, or Description
  7. Description: Optionally display a description under the image in the lightbox. Select from None, Title, Caption, Alt, or Description
  8. Background Color: Choose the background color and opacity of the lightbox.
  9. UI Color: Choose the UI Color. This affects the lightbox arrow and dot navigations, the Close button, etc.
  10. UI Hover Color: Choose the UI Hover Color. This affects the lightbox arrow and dot navigations, the Close button, etc. when the user hovers over each.

Note: All of the above functionality is mobile responsive. Visitors can zoom, open images and videos in full screen, and share the images from their mobile phones.


Image Lightbox

The Image Lightbox opens all image links in a lightbox popup window. The lightbox will automatically work on any link that leads to an image file, as long as the ‘Link to’ setting for the image is set to ‘Media File’.

Once ‘ Media File’ is chosen, an additional option called ‘Lightbox’ appears. Here, you’ll notice the lightbox feature for this image is set to Default, which reflects the status set in the Elementor > Settings > Style section. You can optionally change the setting for this image from ‘Default’ to ‘Yes’ or ‘No’.

  1. Inside the editor, drag and drop the Image widget onto the page, and choose an image.
  2. Change the Link to option to ‘Media file’ (This has to be done for the lightbox to work.)
  3. Set the Lightbox drop down to Yes
  4. Preview the lightbox changes by clicking on the image

Have a question about this?