[Resolved] Padding at the top and bottom of post images

Home Forums Support [Resolved] Padding at the top and bottom of post images

Home Forums Support Padding at the top and bottom of post images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1006918
    Jake

    Hi there,

    I’m trying to add a bit of breathing room at the top and bottom of images in my blog pages, but can’t seem to get it right.

    https://stridedigital.com/blog/seo/estate-agents/

    I just want to add 10px padding or so to the top and bottom.

    Could you help?

    #1006928
    Leo
    Staff
    Customer Support

    Hi there,

    Give this CSS a shot:

    .site-content figure.wp-block-image {
        padding: 10px 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps πŸ™‚

    #1006943
    Jake

    Hi Leo,

    Spot on as always!

    Thanks πŸ™‚

    #1006958
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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