Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Plugin how-tos · Info

Elementor Lightbox Settings Explained: What Each Option Does

Elementor Lightbox Settings Explained: What Each Option Does

Short answer

Elementor lightbox settings are found in Site Settings under Lightbox in the editor. They control whether linked images open in a popup, which toolbar buttons show, what title and caption text appears, and the colours and icon sizes. Individual widgets can override the global choice.

Key takeaways

  • Find the options in Site Settings, then Lightbox.
  • Images must link to their media file to open in the lightbox.
  • Title and caption text comes from the media library.
  • Turn off Share if you do not want easy downloads.
  • Widgets can override the global setting with Default, Yes or No.
  • Do not run two lightbox systems on the same images.

What do Elementor lightbox settings control?

Elementor lightbox settings control whether linked images open in a full-screen popup, which toolbar buttons appear, what text shows under each image, and the colours and icon sizes of the lightbox interface.

The global settings live in Site Settings > Lightbox inside the Elementor editor. They apply to every lightbox on your site unless a widget overrides them.

A lightbox opens when a visitor clicks an image that links to its media file. The image appears over a dark background, with arrows to move between images in the same group.

This guide explains each option and when to change it. Elementor's own help page on lightbox settings shows screenshots of the panel.

Where do you find the lightbox settings?

Open any page in the Elementor editor, open the main menu, choose Site Settings, and then select Lightbox under the settings group.

Here are the steps:

  1. Edit any page with Elementor.
  2. Click the menu icon or Elementor logo in the top bar.
  3. Choose Site Settings.
  4. In the settings list, click Lightbox.
  5. Change the options, then click Update or Publish to save.

Changes apply site-wide. You do not need to edit each page.

Site Settings also holds global colours, fonts and layout options. Our guide to Elementor Pro site settings covers the other panels.

What does each lightbox option do?

Each option controls one part of the lightbox, from whether it opens at all to the toolbar buttons, caption text and colours.

SettingWhat it doesTypical choice
Image LightboxOpens all image links in a lightboxOn for most sites
CounterShows position such as 2 / 8On for galleries
FullscreenAdds a full-screen buttonOn
ZoomAdds a zoom buttonOn for detailed images
ShareAdds share and download optionsOff unless needed
TitlePicks text shown as the titleNone or Title
CaptionPicks text shown as the captionCaption
Background ColorColour behind the imageDark, partly transparent
UI Color and UI Hover ColorIcon colours, normal and hoverHigh contrast with background
Text ColorColour of title and caption textHigh contrast with background
Icon sizesSize of toolbar and arrow iconsDefault unless hard to tap

The exact labels can differ slightly between Elementor versions. If an option is missing, check that Elementor is up to date.

What does the Image Lightbox switch do?

The Image Lightbox switch decides whether all image links that point to a media file open in a lightbox by default, so turning it off makes those links open the image file in the browser instead.

When it is on, any image widget set to link to its media file opens in the lightbox. Galleries use it too.

When it is off, widgets can still turn the lightbox on individually. The global switch only sets the default.

Most sites leave it on. Turn it off if you use another lightbox plugin, because two lightboxes on the same link cause conflicts.

What do the toolbar options do?

The Counter, Fullscreen, Zoom and Share options add or remove buttons from the top toolbar of the lightbox.

Counter shows which image you are on, such as 3 of 10. It helps on long galleries.

Fullscreen lets visitors expand the lightbox to fill the whole screen. It uses the browser's fullscreen feature, which MDN describes in its Fullscreen API guide.

Zoom lets visitors enlarge the image. It is useful for products, maps and detailed photos, as long as the original image is large enough.

Share adds social sharing and download options. Turn it off if you do not want visitors to download your full-size images easily.

What do the Title and Caption options do?

The Title and Caption options choose which text from the media library shows under each image in the lightbox, such as the image title, caption, alt text or description, or nothing at all.

Elementor pulls this text from the image's details in the WordPress media library. Update the text there, not in the widget.

Many sites set the title to None and the caption to Caption. Image titles are often messy file names, so showing them looks untidy.

Alt text is meant for screen readers, not as a visible caption. The W3C's images tutorial explains how to write useful alt text.

How should you choose lightbox colours?

Pick a dark, slightly transparent background and light icon and text colours, so the image stands out and the controls stay easy to see.

Use Background Color for the overlay. A near-black colour with some transparency keeps focus on the image.

Set UI Color for icons and UI Hover Color for the hover state. Make sure both have strong contrast against the background.

Set Text Color for titles and captions. Low contrast text is hard to read, especially on mobile screens.

If you change your brand colours, check the lightbox afterwards. It does not always follow your global colours automatically.

How do icon size settings help?

The icon size settings make toolbar and navigation icons larger or smaller, which matters on touch screens where small arrows are hard to tap.

Increase the navigation icon size if visitors struggle to move between images on phones. Keep toolbar icons smaller so they do not cover the image.

Test on a real phone after changing sizes. Desktop previews can hide tap-target problems.

How do you turn the lightbox on or off for one widget?

Set the widget's link to Media File, then use its Lightbox option to choose Default, Yes or No, which overrides the global setting for that widget only.

In the Image widget, the lightbox option appears once you set Link to Media File. Default follows Site Settings.

Gallery widgets have their own lightbox options. Images in the same gallery are grouped, so visitors can move between them with arrows.

If you want a link to open the image file without a lightbox, choose No. Developers can also add the data-elementor-open-lightbox attribute with a value of no to a custom link.

Does the Elementor lightbox work with WordPress galleries?

Yes, when the WordPress gallery or image links to the media file and Elementor's lightbox is on, Elementor can open those images in its lightbox on pages it builds.

On pages built with the block editor, WordPress has its own Expand on click option for images. Our guide to WordPress gallery settings explains how core galleries link images.

Avoid running two lightboxes on the same images. Pick one system per page.

Our guide on adding an image gallery in WordPress covers gallery options in more depth.

Does the lightbox affect page speed?

The lightbox itself is light, but large full-size images can be slow to open, so compress images and avoid linking to huge original files.

When a visitor opens the lightbox, the browser loads the linked image. If that file is several megabytes, the wait is noticeable.

Resize images before uploading and use modern formats where possible. Our guide on optimising images for WordPress walks through the options.

For other speed options in Elementor, see our explainer on Elementor performance settings.

Why are lightbox settings not working?

If the lightbox does not open or ignores your settings, the image is probably not linked to its media file, another lightbox plugin is taking over, or a cache is serving old page files.

Check these points in order:

  1. The image link is set to Media File, not a custom URL or attachment page.
  2. The widget's lightbox option is not set to No.
  3. No other lightbox or gallery plugin is active on the same images.
  4. You cleared your cache plugin and the Elementor CSS files.

You can regenerate Elementor's files from its tools screen. Our guide on clearing the cache in Elementor explains where to find it.

The Elementor plugin page lists the current version, which is worth checking if the settings panel looks different from this guide.

Frequently asked questions

Is the Elementor lightbox available in the free version?

Yes. The global lightbox and its settings are part of free Elementor. Some widgets that use the lightbox, such as advanced gallery widgets, are Pro features, but basic image and gallery lightboxes work without a paid plan.

How do I stop Elementor opening images in a lightbox?

Turn off the Image Lightbox switch in Site Settings to change the default for the whole site. To change one image only, set its widget's lightbox option to No while keeping the link pointed at the media file.

Why does my lightbox show the file name as a title?

The lightbox Title option is set to show the image title, and WordPress often uses the file name as the title when you upload. Change the title in the media library or set the lightbox Title option to None.

Can I use the Elementor lightbox for videos?

Yes. The Video widget has an image overlay option that can play the video in a lightbox when clicked. The global colour and toolbar settings in Site Settings also apply to video lightboxes.

Why are my lightbox colour changes not showing?

Elementor stores styles in generated CSS files, and a cache plugin or CDN may still serve the old files. Regenerate Elementor's CSS files, clear all caches, and check the page in a private window.

Sources

  1. Adjust the Lightbox settings Elementor Help Center
  2. Elementor Website Builder WordPress.org Plugin Directory
  3. Fullscreen API MDN Web Docs
  4. Images Tutorial W3C Web Accessibility Initiative

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.