• Resolved catanzarodeledaest

    (@catanzarodeledaest)


    Hello,

    I’m experiencing an issue with the Estatik gallery lightbox on mobile.

    • On desktop everything works perfectly: when I open a property page, the gallery slideshow appears, and I can click on the images to enlarge them in the lightbox.
    • On mobile the images are not clickable, so it’s impossible to open them in the lightbox.

    I already tried enabling and disabling the “Disable lightBox on single page” option in the plugin settings, but there was no difference. I’m not using Elementor.

    Looking into the code (F12), I noticed that on desktop each slide is built with an <a> tag that has a background-image, for example:

    <a href="https://example.com/wp-content/uploads/2025/08/08-1.jpg" 
       class="es-slider__item js-es-image kt-lightbox" 
       style="background-image:url('https://example.com/wp-content/uploads/2025/08/08-1.jpg');">
    </a>

    But on mobile the gallery loads an <img> tag directly (without a link), like this:

    <img src="https://example.com/wp-content/uploads/2025/08/08-1-300x200.jpg" 
         class="attachment-medium size-medium" 
         style="width:100%; display:inline-block;">

    This seems to explain why the lightbox is not triggered on mobile.
    Is this the intended behavior, or could it be a bug/configuration issue? If there’s a way to force mobile to use the <a> version of the slider items so that images remain clickable, I’d be very grateful for guidance.

    Thanks a lot for your help and for the great plugin!

Viewing 1 replies (of 1 total)
  • Plugin Support beelana

    (@beelana)

    Hey there,

    Yes, this is the intended behavior. On mobile devices, the lightbox is disabled because the photos are already displayed nearly full-width, so there’s no practical need for an additional lightbox view.

    That said, as a side note, we are planning some changes to the photo gallery in upcoming updates. The mobile layouts will be slightly reworked, and we’ll be improving the way the gallery functions on smaller screens.

Viewing 1 replies (of 1 total)

The topic ‘Lightbox not working on mobile property pages’ is closed to new replies.