[Resolved] Header Video overlaps into content container

Home Forums Support [Resolved] Header Video overlaps into content container

Home Forums Support Header Video overlaps into content container

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1466432
    Joseph

    I added a header element(podcast title) to display a video background in the header section. That works well however the video background also appears in the title section of the post archive page. I’ve tried to style with CSS to #ffffff background when I use div.vidbg-overlay it will add the white background but adds it to the header video as well.
    You can view the issue on the attached link.

    Thank you in advance.

    #1466826
    David
    Staff
    Customer Support

    Hi there,

    can you share the code you have added to your header element ?

    #1467155
    Joseph

    Hey David, thanks for your reply.

    [vidbg container=”header” mp4=”https://lovingliberty.net/staging/wp-content/uploads/2020/09/Copy-of-Copy-of-Copy-of-Loving-Liberty-Facebook-1.mp4″ webm=”#” poster=”https://lovingliberty.net/staging/wp-content/uploads/2020/09/mobile_bg.jpg” muted=”true” loop=”true” overlay=”false” overlay_color=”#000″ overlay_alpha=”0.3″]

    #1467467
    David
    Staff
    Customer Support

    Are you using a plugin for that shortcode ?

    #1467480
    Joseph

    Yes David
    It’s called Video Background.
    I was able to use CSS to override the video overlay on the other posts.

    .entry-meta {background: #ffffff!important;}
    .separate-containers .inside-article .vidbg-overlay{background:#ffffff!important;}

    But can’t seem to get these categories to respond to the CSS.

    #1467693
    David
    Staff
    Customer Support

    Hmmm… i wonder how its targeting the element for it to display i assume it is this attribute in the shortcode:

    container="header"

    What happens if you use:

    container="site-header"

    #1468448
    Joseph

    David found the solution. In the header section of the shortcode I used an ID of #masthead and that did the trick.

    Thank you for your time on this, much appreciated.

    #1468785
    David
    Staff
    Customer Support

    Glad to hear that !

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