WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Lightbox Plus] Scrollbars are appearing in the overlay

[Resolved] [Plugin: Lightbox Plus] Scrollbars are appearing in the overlay

  • thenightrider
    Member

    @thenightrider

    Horizontal and vertical scrollbars are appearing in the overlay when they didn’t before. Had to downgrade to 2.2.

Viewing 5 replies - 1 through 5 (of 5 total)
  • thenightrider
    Member

    @thenightrider

    Lightbox Plus 2.3 is out and the scrollbars are still appearing in the overlay. The hack at:

    http://wordpress.org/support/topic/plugin-lightbox-plus-finally-got-rid-of-scrollbars

    doesn’t work, at least not on my theme (AutoFocus 1.0.1) under WordPress 3.2.1.

    Back to Lightbox M unless someone has a fix.

    thenightrider
    Member

    @thenightrider

    Lightbox Plus 2.3 also now makes scrollbars appear in the WooThemes Canvas theme (I’m using v4.1.4) under WordPress 3.2.1. Revert to Lightbox Plus 2.2.2.

    Adam
    Member

    @appsynergy

    The following css worked for me (overrides the inline styles):

    #cboxLoadedContent {
    	overflow: hidden !important;
    }

    The root problem, I think, is caused because the img element within #cboxLoadedContent is not set to display:block. In the absence of this declaration the img is an inline element and hence browsers allow space below it for the tals of any letters. This can be fixed by:

    #cboxLoadedContent img{display:block}

    thenightrider
    Member

    @thenightrider

    #cboxLoadedContent img{display:block;}
    did not work, but
    #cboxLoadedContent {overflow: hidden !important;}
    did.
    Thanks, AppSynergy.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Lightbox Plus] Scrollbars are appearing in the overlay’ is closed to new replies.