-
AuthorPosts
-
January 7, 2026 at 6:36 pm #1493695
hi
I have images on my site that open in a lightbox in some color sections.
I have a problem that an image that is set to show only on mobile is showing in the lightbox still on the PC when I scroll through the images.
You can see it on the page below in the section called Vårgæslingeblomsten – the botanical drawing opens twice – the second one is just for mobile.
Can you help me with this?
thanks
Nancy-
This topic was modified 1 day, 14 hours ago by
Munford.
January 7, 2026 at 11:30 pm #1493698how did you insert that image to your page? as image element – or inside a text-block element or via masonry gallery etc. pp.
why do i ask this : if you can separate these images to different sections – then they will not group together. And you can set the responsive visibility on the section.but if you have the images inside a common section then –
see: https://webers-testseite.de/munford-lightbox/sadly for that setting of some images are grouped – some are not ( the layout image is a lightbox image too) the solution of Mike does not work here
Don’t worry, the script only runs if groups are actually set on the page, otherwise the script will abort.
January 8, 2026 at 10:16 am #1493702Hi,
Thank you for the inquiry.
Did you toggle the visibility of the image elements using Advanced > Responsive > Element Visibility settings? If you need to exclude the image from the lightbox, you may need to create a duplicate of the entire section — one for desktop and another for smaller screens.
Best regards,
IsmaelJanuary 8, 2026 at 10:25 am #1493705yes, that’s how I set the visibility, in the image element.
I can try with duplicating the section, thanks.January 8, 2026 at 10:47 am #1493709January 8, 2026 at 11:00 am #1493712that worked, thanks.
-
This topic was modified 1 day, 14 hours ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
