Reply To: show slider with original styling in Lightbox

Your Account / Forums / Easy FancyBox Pro / show slider with original styling in Lightbox / Reply To: show slider with original styling in Lightbox

December 29, 2014 at 1:07 am #4275

Hi Ingmar, the lightbox was built to scale to the original image size with only the browser viewport (with a certain margin) as limit. However, you would try adding the following CSS to your themes stylesheet:


#fancybox-wrap div {
max-width: 600px;
height: auto !important;
}

Note: Setting a max-width and a max-height together might scale larger images out of their original proportions to force-fit them into these max sizes.