[Resolved] Footer showing up behind video

Home Forums Support [Resolved] Footer showing up behind video

Home Forums Support Footer showing up behind video

  • This topic has 3 replies, 2 voices, and was last updated 3 months ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2211512
    Kevin

    I added css to add video background to main page with following css

    video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    }

    Added Hook on main page with following code

    <video playsinline autoplay muted loop poster=”polina.jpg” id=”bgvid”>
    <source src=”video.mp4″ type=”video/mp4″>
    </video>

    for generate_before_header

    Video is showing up fine but part of the footer is either not showing or showing behind the video.
    Check in the url below.

    Thanks.

    #2211522
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .site-footer {
        position: relative;
    }
    #2211696
    Kevin

    Perfect…thank you.

    #2211699
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.