Search Divi Gallery Extended Documentation

Search for answers or browse our knowledge base.

< All Topics
Print

How to visible title and caption text without scrolling in Lightbox

After selecting the option Below Image in Title & Caption Style in Lightbox text is only visible after scrolling the page.

To make this visible without scrolling add the following CSS code in Divi Theme Option.

Over the Image without scrolling:

.el_masonry_gallery_lightbox .mfp-content .mfp-bottom-bar {
    top: unset !important;
    bottom: 0 !important;
}

With the above CSS, the text will be visible over the image.

Below the Image without scrolling:

.el_masonry_gallery_lightbox .mfp-figure {
    max-width: 80%;
    position: relative;
    margin: auto;
}