WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
Lightbox not vertically centered? (4 posts)

  1. robRalston1
    Member
    Posted 1 year ago #

    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?

    cheers

    http://wordpress.org/extend/plugins/wp-jquery-lightbox/

  2. robRalston1
    Member
    Posted 1 year ago #

    It seems to be moving up 28px when you got through the slide show?? that the height of the wordpress admin bar.

    cheers

  3. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. robRalston1
    Member
    Posted 1 year ago #

    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.

    cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic