Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #890911

    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!

    #892157

    Anyone who can help me out? :)

    #892185

    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

    #892809

    Thank you for your answer.
    The code doesn’t do anything, black bars stay the same both in quick css and custom css

    #893640

    Hi,

    Please make sure that video’s aspect ratio is 16:9. The theme will automatically resize it.

    Best regards,
    Ismael

    #894715

    Hi Imael, I made the video’s exactyly the same as the height of the sections (700 px)

    #895015

    Hi,

    And it is working properly now?

    Best regards,
    Basilis

    #895217

    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!

    #895591

    Hi,

    You don’t need the height to be the exact same size of the container or section. The video needs to have an aspect ratio of 16:9 or it has to be wide. This is a basic requirement even on youtube or vimeo if you don’t want your videos to render black bars.

    Best regards,
    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.