# Always show caption in Lightbox

**URL:** <https://community.elfsight.com/t/always-show-caption-in-lightbox/66208>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [August 18, 2024, 6:29am UTC](https://community.elfsight.com/t/always-show-caption-in-lightbox/66208 "2024-08-18T06:29:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [August 18, 2024, 6:29am UTC](https://community.elfsight.com/t/always-show-caption-in-lightbox/66208/1 "2024-08-18T06:29:27Z")

</div>

To make caption always show in Lightbox Squarespace, you can use this code to Website Tools \> Custom CSS.

```auto
div.yui3-lightbox2 .sqs-lightbox-meta {
    opacity: 1 !important;
    background-color: rgba(0,0,0,0.75) !important;
}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/7/a/7a4d0282bf11f654244e648633ef2b3e92ba16b8.png)

**Result:**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/2/2/22ba1cf06ca0eed8058120eb2e6df0a50fafdf09.jpeg)
