Support » Fixing WordPress » Blank space above & below Vimeo embedded video

  • A couple months ago Vimeo made a change to their video embeds which has resulted in a large amount of white space being added above and below their videos on wordpress for video with wider aspect rations. This change affects all previous Vimeo embeds – in our case 10 years worth! – so is massively annoying.

    I’ve search for a fix to this but the only thing I’ve found was to add this code:

    /*Remove vimeo space*/
    .player .vp-player-layout {
    top: 0px !important;
    bottom: 0px !important;

    To the Additional CSS file or at the end of the theme CSS file neither of which has fixes the problem.

    Does anyone have an idea of how to solve this?


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Don’t think you can do it with CSS because the player is located in an iframe, and CSS cannot be used to affect the objects within an iframe.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.