• Resolved drdavebilliards

    (@drdavebilliards)


    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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter drdavebilliards

    (@drdavebilliards)

    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;
    }

    Thread Starter drdavebilliards

    (@drdavebilliards)

    Since this has been a known issue for a while, why hasn’t it been fixed in the theme?

    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
    }

    • This reply was modified 3 years, 7 months ago by pushevs.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘YouTube embed – huge unwanted space’ is closed to new replies.