Hello
I gradded the code below from one of the posts on videos.
.avia-video, .avia-video iframe, .avia-video video {
background-color: #ffffff;
}
I added this code and it removed the black boarder that was on the video on my site. I changed the color to white so it looked clean. Now I need some help because I have a huge white space where the black border was around the video (btw- the video ratio was 16:9). Can you please provide some more code or help me reduce size of the white space between my video and the menu and space below the video? I have linked the website below its on the home page and the credentials.
Hey Maggie,
Thank you for the inquiry.
We couldn’t find the video on the home page or anywhere else on the site. Would you mind providing a screenshot of the issue or a direct link to the page containing the video element?
Best regards,
Ismael
Hi,
Thank you for the screenshot. We initially thought the first section contained a static image. To adjust the size of the video, try to add this css code.
#top .avia-video .mejs-container, #top .avia-video .mejs-container video {
object-fit: cover;
}
Best regards,
Ismael
But main reason is that it is not a 16/9 aspect ratio video.
Enter on that Video Aspect Ratio Field : 1920:814
and remove that object-fit: cover rule – and even the background-color could be removed – everything fits with the right aspect-ratio