[Resolved] background video in Elements

Home Forums Support [Resolved] background video in Elements

Home Forums Support background video in Elements

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #875293
    ivar

    Hi guys! I have a question. I installed the video in the header of the site according to the instructions:
    https://docs.generatepress.com/article/page-hero-background-video/

    but my video now overlaps the title and buttons. how to fix it?
    https://hackhub.ru/

    #875335
    ivar

    With this question has understood… But there are others-why does the video have an extra white background? I looked through all the settings – nothing found…

    #875474
    David
    Staff
    Customer Support

    Hi there,

    i am not seeing the video overlapping the buttons or title? Is this in any particular browser?

    This CSS:

    .background-video {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.5;
    }

    The opacity property lets the background color show through. If you don’t want it to then remove that property or set it to opacity: 1;

    I notice that the the first second of the video is also ’empty’ so when it first plays there is no video image and therefore you see the body background color.

    #875494
    ivar

    The opacity property lets the background color show through. If you don’t want it to then remove that property or set it to opacity: 1;

    That’s where the reason for the background overlay on the video! Thank you!

    #875499
    David
    Staff
    Customer Support

    Awesome 🙂 Glad to be of help.

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