• Resolved kusalo

    (@kusalo)


    I have a std. NGG install, using Elementor, Hello theme. Basic thumbnails, caption view.
    Gallery loads + albums = no problem

    On clicking a thumbnail the img loads. However the caption overlays the bottom of the image – pretty much the whole height of the caption. And this seems to vary according to the length of the caption. I see code has:
    position: absolute; bottom 0;

    I have ‘custom CSS’:
    .sl-wrapper .sl-image .sl-caption { position: relative; }
    and that seemed to work but… while it seems I have a fix (both d’top and mobile) this feels like an unnecessary hack.

    Your comments, suggestions please.
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @kusalo,

    It is correct that SimpleLightbox caption is intended to appear as an overlay at the bottom of the image.

    While the specified CSS workaround will work for the majority, there are cases when due to the image’s ratio ( usually would happen with the portrait images of a very big height ), when it expands full-height – that’ll push the caption below the visible edge which is unwanted.

    Thread Starter kusalo

    (@kusalo)

    Thanks for the reply.
    I will keep in mind the matter of tall (portrait) images.

    On a mobile a caption can fold to three lines and the overlay {bottom:0} can all but completely obscure the image.
    Juggling the 10,000 things ??

    I am very happy with the plugin. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘caption overlays img’ is closed to new replies.