Archived topic
How I can give more padding between text and videos
5 replies · Started by Former User on January 26, 2023
Hello,
How I can give videos like a 1.5em padding top and bottom so, it gives some space between image and text on articles? Is the same problem as this ticket (https://generatepress.com/forums/topic/how-i-can-give-more-padding-between-text-and-image/) but, in this case is with inserted videos from YouTube and so on instead of images.
Thanks!
Sara
Hi there,
can i see a page on the site where the margins are required ?
Hello David,
For example on the URL below on the second video where it says How easy is it to use Divi?
Thanks
Try adding this CSS:
.wp-block-embed {
margin-bottom: 1.5em;
}
Hi David,
Thanks that worked perfectly :)
Glad to hear that!