---
title: "How to Enable the Kadence Lightbox Feature for Image Links"
source: "https://docs.nexcess.com/software/kadence/theme/lightbox-feature-for-image-links/"
description: "The Kadence Theme includes a built-in Lightbox feature that allows individual images to open in a pop-up overlay, rather than redirecting users to a separate me…"
vertical: "Software"
area: "Kadence Theme"
date: "2025-07-20"
last_modified: "2026-07-02"
---

# How to Enable the Kadence Lightbox Feature for Image Links

The **Kadence** **Theme** includes a built-in **Lightbox** feature that allows individual images to open in a pop-up overlay, rather than redirecting users to a separate media attachment page. This offers a smoother, more user-friendly image viewing experience.

![Lightbox Button](https://docs.nexcess.com/wp-content/uploads/2026/06/Lightbox-Button.gif)

![Lightbox Image](https://docs.nexcess.com/wp-content/uploads/2026/06/Lightbox-Image.gif)

Follow the steps below to learn more about this feature.

Step 1: Enable the Lightbox Setting

1. Go to your WordPress **Dashboard**.
2. Navigate to **Appearance > Customize**.
3. In the Customizer panel, go to **General > Performance > Lightbox**.
4. Enable the **Lightbox** toggle.

[![](https://docs.nexcess.com/wp-content/uploads/2026/06/Customize-Home-teejay-2025-07-18-at-11.25.26-AM.jpg)](https://docs.nexcess.com/wp-content/uploads/2026/06/Customize-Home-teejay-2025-07-18-at-11.25.26-AM.jpg)*When using Gallery (Adv) blocks, you should use the [link block settings](https://docs.nexcess.com/software/kadence/advanced-gallery-block/#link-settings) to enable a lightbox source.*

Step 2: Assign the Media File as the Image Link

When the **Lightbox** feature is enabled, any image or link that points directly to a **Media File** will open in a pop-up overlay (Lightbox) instead of redirecting to a separate attachment page.  
  
This works especially well with blocks like:

- **[Advanced Images](https://docs.nexcess.com/software/kadence/advanced-image/)**
- **[Advanced Buttons](https://docs.nexcess.com/software/kadence/advanced-buttons/)**
- **[Advanced Texts](https://docs.nexcess.com/software/kadence/blocks/advanced-heading-block/)**
- This feature also works on core blocks, such as the paragraph, heading, and image blocks.

By linking to an image’s media file, you can display it in a lightbox for a clean, user-friendly viewing experience, without navigating away from the current page.

*If you are using a Gallery (Adv) Block, this feature will not work. The Advanced Gallery block offers a built-in way to enable and use Lightbox. You can learn more [here](https://docs.nexcess.com/software/kadence/advanced-gallery-block/#link-settings).*

**Adding LightBox to Advanced Image Blocks:**

1. Edit the page or post containing the image.
2. Click on the **Image Adv block** or *Image* *block* to select it.
3. In the top block toolbar, find the **Link To** option. This is represented by a chainlink icon.
4. From the dropdown, select the **Media File** option. This will automatically link the current image to the media file URL.

[![](https://docs.nexcess.com/wp-content/uploads/2026/06/Add-Page-‹-teejay-—-WordPress-2025-07-18-at-11.29.13-AM.jpg)](https://docs.nexcess.com/wp-content/uploads/2026/06/Add-Page-‹-teejay-—-WordPress-2025-07-18-at-11.29.13-AM.jpg)

Once finished, whenever the Advanced Image Block is clicked, it will open up the image in a Lightbox.

*Example of the Advanced Image Lightbox link effect.*

![Lightbox Image](https://docs.nexcess.com/wp-content/uploads/2026/06/Lightbox-Image.gif)

**Adding Lightbox to Kadence Blocks Links:**

Many Kadence Blocks, such as Advanced Texts and Advanced Buttons, include link settings that allow you to manually define a destination URL. By entering the direct Media File URL of an image, you can configure these blocks to trigger the Lightbox popup when clicked. This allows you to open an image in a Lightbox view even when it’s not placed using an Image block.

- Go to the Dashboard -> Media Library and copy the URL of the image you wish to use.  
    *(Or grab the media URL your preferred way.)*

![Copy URL](https://docs.nexcess.com/wp-content/uploads/2026/06/Copy-URL.jpg)

- In the Block Settings, on an applicable block, find the link-related setting. Link Settings often live in the General tab of the *Block Settings*.
- Paste the URL of the media file and submit it as the link.

![Sample Link Settings](https://docs.nexcess.com/wp-content/uploads/2026/06/Sample-Link-Settings.jpg)

Afterward, whenever the link is clicked, it will open the linked-to image in a Lightbox view. This feature works for advanced buttons, link texts, list texts, and anywhere a media URL can be inserted within blocks.

*Example of a Kadence Link being used as a Lightbox.*

![Lightbox Button](https://docs.nexcess.com/wp-content/uploads/2026/06/Lightbox-Button.gif)

Results

Once the above settings are configured:

- Clicking on an image with a **media file link** will open it in a Lightbox popup.
- This enhances the viewing experience without navigating away from the current page.
