Lightbox CSS to define image size after clicking image - Forum | JoomShaper
Staff replied SP Page Builder

Lightbox CSS to define image size after clicking image

Asked by Lisa Willaman 5 years ago Last activity 5 years ago

Is my subject enough?

Ok, I need some CSS to make an image using "open in Lightbox" open that image to a specific dimension.

Any tips appreciated!

Thanks!

1 reply

Ofi Khan Staff

Hello Lisa Willaman

Sorry, we do not provide customization support. Here is a hint for you. Try this CSS:

.mfp-image-holder .mfp-content{
    position: absolute;
    top: 50%;
}

Best regards

Log in to reply.