Wrong Media Position in Lightbox

On some pages, other JS scripts or conflicting CSS rules might prevent the lightbox script to correctly determine the window dimensions, causing elements inside the lightbox to be shown either outside the visible screen, or at best, offset from the center of the screen, where it is supposed to be shown.

It is possible to correct the issue by adding some custom CSS to your page:

This custom CSS will effectively disable all advanced transitions of elements inside the lightbox, only allowing for a basic fade transition. The reason being that all other transition effects require the lightbox to know the exact window dimensions in order to calculate entry/exit positions.

 

Tekanewa

Tekanewa has written 32 articles

Hi there, I am the Lead Developer here at Tekanewa Scripts by Kraut Coding; well, to be honest, I'm also the only developer. I love to create something beautiful and useful for Websites and here I write about how to use them. :)