Hi, I just purchased fancybox Pro to use in responsive lightbox and my Vimeo embedded videos are not filling the space. It has ugly white space top and bottom?
Im using beaver builder and a normal button calling the video
Do I need to add anything, like setting the dimensions etc, I thought it would just be responsive and always fill the lightbox space?
Strange, we’re not sure where the issue comes from but it should be ok with the following CSS snippet added to your theme (or custom CSS in Customizer):
iframe .fancybox-content {
width: auto !important;
}
Hi, thanks but that had no affect at all. So I did an inspect in chrome and this worked
.fancybox-slide–iframe .fancybox-content{
width: auto !important;
}
but it needs the height also to work correctly at first
height: auto !important;
But when the height is added its not correct on mobiles in portrait or tall screens as the video sinks to the bottom of the page… but without the height also I still get a white gap sometimes underneath