Forums
Home / Theme: OceanWP / YouTube embed – huge unwanted space
(@drdavebilliards)
3 years ago
Since the latest OceanWP theme update, large spaces are appearing above Guttenberg YouTube embeds that do not have HD aspect ratios (16:9). Is there Custom CSS I can add to the theme Customize settings to prevent these huge unwanted spaces?
Here is an example page showing the problem: https://billiards.colostate.edu/test/
The page I need help with: [log in to see the link]
I just found this Custom CSS fix from a previous support topic that fixes the problem:
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper:before { padding-top: 0; }
Since this has been a known issue for a while, why hasn’t it been fixed in the theme?
(@pushevs)
Same problem here.
Huge white space above youtube videos in new posts edited with gutenberg.
This code solves the problem:
.wp-block-embed__wrapper:before { padding-top: 0!important }