Support » Plugin: Video Background » Video keeps appearing in middle of Genesis Altitude pro

  • I managed to add the video to .front-page-1 section of the Genesis Altitude Pro theme but the video keeps appearing in the middle of a very tall .front-page-1 section, 4305px to be exact.

    I think I found the cause of this. For some reasons, the video has this as its height:

    <video autoplay="" loop="" muted="" style="
        margin: auto;
        position: absolute;
        z-index: -1;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        visibility: visible;
        opacity: 1;
        width: auto;
        height: 4305px;"><source src="http://localhost:8888/wp-content/uploads/video.mp4" type="video/mp4"><source src="#" type="video/webm"></video>

    Any idea what could be causing the video to have such a height value?

Viewing 1 replies (of 1 total)
  • Plugin Author Blake

    (@blakedotvegas)

    Hi Jenxi,

    Thanks for using Video Background.

    Could you please reference your URL so I can take a closer look?

    If your “.front-page-1” container is 4305px, Video Background will match the size to cover the entire thing, thus expanding the video to display the middle of it. I believe this may be the issue, but taking a look at your site will help me determine.

    Blake

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.