Streaming live at 10am (PST)

Suppressing Lightbox link on Mobile

Hey Folks,

Does anyone know of a way to prevent a lightbox link from being clickable on mobile? Basically, i don’t want a tap-on-image to open up the lightbox modal. I have no need for it on mobile since the pictures are already full-witdh and user can just scroll down to see them.

I imagine there’s maybe a code snippet for that?



Welcome to the Webflow forum!

Could you please edit and provide ALL the necessary details in your post so we can take a look at your site/issue?

In future if you want faster replies and more accurate answers, I suggest including all the details listed in the link above before someone has to ask.

Hope to hear from you soon. Thanks!

Hi @gmaueler,

When I have a gallery of lightbox images on a mobile page, I generally hide them all apart from one and then just have them all linked so that one click brings up all the images in the slideshow. It makes for a better UI experience on mobile as you don’t have to scroll past loads of images.

1 Like