Youtube Embed Whitespace

Posted in: Newspaper
Post count: 9

I’m getting a ton of whitespace added underneath Youtube Embeds within the article. Is there any way for me to fix this?

https://www.usacarry.com/shoot-dont-shoot-decision-2-seconds/

Post count: 20688

Hi,

That is an unusual amount of padding top that the embed video has
https://www.screencast.com/t/2mSp5YHia
That is what is causing the gap below the video. That padding is not coming from the theme, it would have no point. How exactly are you embedding the videos? try simply pasting the video link in the post content
https://www.screencast.com/t/wkOp90H8pQ
The video should not have such an enormous padding
https://www.screencast.com/t/QCr3yBtyu

Post count: 9

That is exactly how I am adding videos. I just copy and paste the link into the post and it changes it to an embed.

I made another test here.

https://www.usacarry.com/test-video/

Post count: 20688

I couldn’t say why exactly this is happening. Maybe try a code like this to cancel that enormous padding (enter it in Theme panel->Custom CSS)
https://www.screencast.com/t/w1fjkk0mh

.single .fluid-width-video-wrapper {
padding-top: 0!important;
}
.single .fluid-width-video-wrapper iframe {
position: relative;
}

Post count: 9

That fixed it. Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.