Tagged: vimeo
Hi,
Srry if this has been asked, I couldnt find a solution on the forums.
I have a content-section with the background video that is 700 heigh and I made a video that is the exact same height.
With my very wide screen everything is great but as soon as I scale the width of the site or look at a small screen I get the black bars top and bottom. Can I make this responsive?
Thanks very much!
Anyone who can help me out? :)
Hi mirr,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 990px) {
#video .container {
height: 100% !important;
min-height: 75vh !important;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Thank you for your answer.
The code doesn’t do anything, black bars stay the same both in quick css and custom css
Hi,
Please make sure that video’s aspect ratio is 16:9. The theme will automatically resize it.
Best regards,
Ismael
Hi Imael, I made the video’s exactyly the same as the height of the sections (700 px)
Hi,
And it is working properly now?
Best regards,
Basilis
Hey Basilis,
Unfortunately this doesn’t solve the problem. Really hope you can help me out because it doesn’t look nice like this..
Thanks in advance!