Site logo

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

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

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

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2495176
    Anonymous

    Hello,

    How I can give image like a 20px padding top and bottom so, it gives some space between image and text on articles?

    Thanks!

    Sara

    #2495524
    David
    Staff
    Customer Support

    Hi there,

    by default there should be bottom margin on text and images.
    Can i see a site where there is no spacing ?

    #2496071
    Anonymous

    Hello David,

    Yes, for example on this article below, you can see most images there is no space between text and image.

    #2496398
    David
    Staff
    Customer Support

    Try adding this CSS:

    .wp-block-image {
        margin-bottom: 1.5em;
    }
    #2501538
    Anonymous

    Hello David,

    Thank you very much that worked like a charm!!

    #2501767
    David
    Staff
    Customer Support

    Glad to hear that !

    #2514490
    Anonymous

    🙂

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