[Resolved] Page Header + Sections –> how to get rid of an unnecessary colored layer?

Home Forums Support [Resolved] Page Header + Sections –> how to get rid of an unnecessary colored layer?

Home Forums Support Page Header + Sections –> how to get rid of an unnecessary colored layer?

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

    Hi,
    on my start page I have defined a video within the page header (elements).
    I don’t know why, but somehow there’s a grey overlay between the header and the 1st section…
    How can I get rid of this?
    I appreciate your answer with best regards from Germany,
    Sven

    #810206
    David
    Staff
    Customer Support

    Hi there,

    the video is escaping the container so lets give that section the overflow: hidden; property so you could just update this CSS:

    .background-video-content {
        position: relative;
    }

    to

    .background-video-content {
        position: relative;
        overflow: hidden;
    }
    #810232
    Sven

    Nope… doesn’t work! That layer still appears…

    #810235
    David
    Staff
    Customer Support

    Can you add that CSS back in and clear any caches so i can take a look?

    #810240
    Sven

    Yep, done

    #810245
    Sven

    Firefox: works, Chrome: not

    #810415
    David
    Staff
    Customer Support

    The video was in a section when i last checked, its now in the Header Element ๐Ÿ™‚ so try this:

    .page-hero {
        position: relative;
        overflow: hidden;
    }
    #810435
    Sven

    Sensational! ๐Ÿ™‚

    #810441
    David
    Staff
    Customer Support

    Glad we got there, Chrome seems to dislike the object-fit videos and 100vh containers. I am sure others will find this helpful.

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