Support » Plugin: WP jQuery Lightbox » Lightbox not vertically centered?

  • Hey,

    Great plugin!

    Just have one issue. when I first open up the lightbox the top padding is top big.
    When I click “next” the next image with the same height moves up. Even when I go back to the first image is now centered properly.

    So for some reason when first opened its not centering it correctly. I can see that at the last minute in animates down around 50px or some quickly.

    All images and the same height so it shouldn’t be moving round!

    any ideas?


Viewing 3 replies - 1 through 3 (of 3 total)
  • It seems to be moving up 28px when you got through the slide show?? that the height of the wordpress admin bar.


    Plugin Author ulfben


    I’ve noticed this on some sites too, but only on mobile I think (perhaps because images usually fit in desktop browser window, I just realized…)

    The admin bar theory is a good one. I’ll look into this for next release.

    Yeah, its strange. I’ve had a little poke around but can’t seem to work out why it pushes the images down 28px on first load. I don’t think I’d notice if the images had different heights.

    let me know if you sus it.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lightbox not vertically centered?’ is closed to new replies.