Skip to main content


This topic contains 1 reply, has 1 voice, and was last updated by  chrisc 3 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #288568


    Hi there, just a really simple one I hope. I’m looking to create a video header for site:
    Problem I’m having is responsively retaining the aspect ratio so there’s no cutoff on the edges and 100% width & height are maintained. i have gotten as far as here: which is resizing correctly but I’m left with a white border underneath the header content. Using Uncode premium theme and the support has been poor. Sure an experienced head can solve it in no time. Using this css to date:


    #myVideo {
    height: 100%;
    left: 0;
    object-fit: cover;
    top: 0;
    bottom: 0;
    width: 100%;

    thnx in advance



    Received a reply from the WP Theme support stating “Not sure, but sometimes an extra code snippet can conflict in video running functionality.”, can additional CSS prevent a video from playing. Appreciate any input

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star