Site logo

[Support request] Add automatically some margin after images are inserted on Gutternberg

Home Forums Support [Support request] Add automatically some margin after images are inserted on Gutternberg

Home Forums Support Add automatically some margin after images are inserted on Gutternberg

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2415190
    George

    Hello. Currently, the default Pages and Posts don’t add any margin when a new image is added, and hence I have to add an extra line break for it to lookgood. Check all the images in this article (except the featured image): https://giveawaylisting.com/the-talk-giveaways/
    How to add CSS to automatically have some margin between the bottom of the image and the new text that follows? (header or plain text)

    Thanks!

    #2415222
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    figure {
        margin-bottom: 1.5em;
    }
    #2447675
    George

    Thanks David, where should I place this CSS? And will the apply only to images? Thanks!

    #2448321
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.