Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Support request] Remove lateral paddings of images in posts

Home Forums Support [Support request] Remove lateral paddings of images in posts

Home Forums Support Remove lateral paddings of images in posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2239953
    Albert

    Hello! I would like to know how I can eliminate the lateral margins (padding) of the images that are inside the posts. I would like to achieve the same effect as with the featured image.

    Here an example:
    https://viajar.amsterdam/bloemenmarkt-mercado-flotante-flores/

    Thank you very much

    #2239966
    Fernando
    Customer Support

    Hi Albert,

    The featured image has a custom CSS code affecting its margin.

    To replicate this for all post images, here is a CSS you may try adding in Appearance > Customize > Additional CSS:

    body.single-post figure.wp-block-image {
        margin-left: -20px;
        margin-right: -20px;
        max-width: unset;
    }

    Kindly let us know how it goes.

    #2239976
    Albert

    Thank you very much!!

    #2240779
    Fernando
    Customer Support

    You’re welcome Albert!

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