# Wix Editor: Adding a 'Close' Button to Your Lightbox

Source: https://support.wix.com/en/article/wix-editor-adding-a-close-button-to-your-lightbox (updated 2025-07-02)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

You can choose if you want a 'close' button on your lightbox or not. Your site visitors can click the button to close the lightbox.

### To add a 'close' button to your lightbox:

1. Click the lightbox in the Editor.
2. Click the **Settings** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2016/04/05/16a0ac8c-d95a-4e2e-8f6c-4765149d647b.png).
3. Enable the '**Close' button** toggle.

![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/651c25b0-2d60-43c8-addf-1df2fd575568/2021/07/22/2bc813f0-8cf5-48f3-b83a-c568119883f9/af78d1e5-53af-4301-aaf9-bd056f0066a1.png)

> **Tip:** Click the **Design** icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/2016/04/05/262207fe-f36e-4d44-87bd-8177be4c808c.png)on the button to design it.
