Your Cart

Reply To: Galleria lightbox (often) opens two screens at the same time

These forums are now closed to new replies / tickets.

Please open a support ticket from our new Support page.

Front Page Forums Problems Galleria lightbox (often) opens two screens at the same time Reply To: Galleria lightbox (often) opens two screens at the same time

gravatar
Tim
September 11, 2015 at 7:05 pm

Update: I seem to have found the problem causing this. Tested
only on a local folder structure for landing page development, so
YMMV.

.galleria-lightbox-close and .galleria-lightbox-nextholder share
the same z-index of 99999. This causes close to hide behind
nextholder quite frequently. So when you think you hit the close
button, you simply shift to the next image, causing the illusion
that 2 lightboxes have been opened.

Change z-index of ‘close’ to a higher value on line 2202 of
galleria-1.4.2.js, or about 3/4 down the first line of
galleria-1.4.2.min.js. I changed it to z-index: 199999; and it
works fine.

While your there you may want to double the size of the close
box and font, since it is pretty tiny by default.


Galleria.io uses cookies to store information. You can read more about that in our Privacy Policy. I understand