Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Video header problem

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #288568
    chrisc
    Participant

    Hi there, just a really simple one I hope. I’m looking to create a video header for site: https://mave.studio/
    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: https://mave.studio/cc_hackmave-home_todelete/ 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:

    <

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

    thnx in advance

    #289215
    chrisc
    Participant

    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)
  • The forum ‘CSS’ is closed to new topics and replies.