Hi @ enfold,
i have customized the image lightbox so that the images have an white border.
img.mfp-img {
border: 10px solid white;
padding: 0px;
margin-top: 40px;
}
Looks great, but because of the margin-top the image does not fit to the screen anymore, the bottom is cropped.
Any idea?
Best Regards
Sigmund
Hey Sigmund,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
img.mfp-img {
max-width: 90%;
}
Best regards,
Yigit
Great, works like charm.
Is it possible to align the caption below the lighbox image so that it fits with the corner of the image like usual?
Best Regards,
Sigmund