Site logo

[Resolved] How I can give more padding between text and videos

Home Forums Support [Resolved] How I can give more padding between text and videos

Home Forums Support How I can give more padding between text and videos

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2509553
    Anonymous

    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

    #2509621
    David
    Staff
    Customer Support

    Hi there,

    can i see a page on the site where the margins are required ?

    #2509771
    Anonymous

    Hello David,

    For example on the URL below on the second video where it says How easy is it to use Divi?

    Thanks

    #2510038
    David
    Staff
    Customer Support

    Try adding this CSS:

    .wp-block-embed {
        margin-bottom: 1.5em;
    }
    #2514489
    Anonymous

    Hi David,

    Thanks that worked perfectly 🙂

    #2515338
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.