# Gallery Lightbox

**URL:** <https://community.sitejet.io/t/gallery-lightbox/1348>\
**Category:** Website Builder\
**Tags:** cms\_element\
**Created:** [January 10, 2022, 10:18pm UTC](https://community.sitejet.io/t/gallery-lightbox/1348 "2022-01-10T22:18:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mughal](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/mughal/32/1831_2.png) [@mughal](https://community.sitejet.io/u/mughal)\
**Post date:** [January 10, 2022, 10:18pm UTC](https://community.sitejet.io/t/gallery-lightbox/1348/1 "2022-01-10T22:18:02Z")

</div>

Hi, how can i disable lightbox popup on image gallery, i just want to display image no lightbox, any advise?

---

<div class="post-metadata">

**Author:** ![Martin.Sitejet.Team](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/martin.sitejet.team/32/25_2.png) [@Martin.Sitejet.Team](https://community.sitejet.io/u/Martin.Sitejet.Team)\
**Post date:** [January 11, 2022, 2:06pm UTC](https://community.sitejet.io/t/gallery-lightbox/1348/2 "2022-01-11T14:06:15Z")

</div>

Hi @mughal,

you can create a new CSS class and apply it to the gallery container \> style \> element \> ID & class.

```auto
.no-pointer-event {
    pointer-events: none !important;
}

```

---

<div class="post-metadata">

**Author:** ![mughal](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/mughal/32/1831_2.png) [@mughal](https://community.sitejet.io/u/mughal)\
**Post date:** [January 12, 2022, 12:57am UTC](https://community.sitejet.io/t/gallery-lightbox/1348/3 "2022-01-12T00:57:01Z")

</div>

Hi @Martin.Sitejet.Team i tried exactly you said but not working … please advise

![Class](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/1X/51c06006a2d0cec5eb2d4f6c91b2f8bbf98c65c2.jpeg)

 ![Code](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/1X/3e6ae31bc106959c807d11a75fd79d107a9e96ff.jpeg)

---

<div class="post-metadata">

**Author:** ![Martin.Sitejet.Team](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/martin.sitejet.team/32/25_2.png) [@Martin.Sitejet.Team](https://community.sitejet.io/u/Martin.Sitejet.Team)\
**Post date:** [January 12, 2022, 2:11pm UTC](https://community.sitejet.io/t/gallery-lightbox/1348/4 "2022-01-12T14:11:04Z")

</div>

@mughal could you please remove ` .ed-element` from line 855

---

<div class="post-metadata">

**Author:** ![mughal](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/mughal/32/1831_2.png) [@mughal](https://community.sitejet.io/u/mughal)\
**Post date:** [January 12, 2022, 8:35pm UTC](https://community.sitejet.io/t/gallery-lightbox/1348/5 "2022-01-12T20:35:01Z")

</div>

@Martin.Sitejet.Team i was very surprised also found it so funny at the same time to know what i had to do is just uncheck “Enlarge” from gallery properties and it works how i wanted it to be, but you were telling me to add new class then inject snippet in css … isn’t it funny?

 ![Enlarge](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/1X/90bf0ceae005c99e2f1e1ba9a4ee7ee58a909c02.jpeg)
