Margin on left picture placement

Hi there,
I am wondering what causes the left margin when an image is placed above a block of text on a blog page. It is never on the same y-scale as the text when aligned to the left. The offset is about 20px wide. But I can’t find anywhere to adjust the spacing … Most likely I’m missing something, but what?

any ideas?

Best
Chris

Hey there

Chris, I need a link to the page to check this problem, so, please kindly provide it :slight_smile:

Hi Noda,

https://a-casaccio.cestudio.de/category/produkte

you can see it on every picture above the txt. The left y position is always about 20 px more right than the text left y …

Pleas note: the site is under construction

Best

Chris

Hi Chris

Try this css code, it will center the image:

figure.wp-block-image.size-full img {
    margin: 0 auto;
    display: block;
}

Thx agaín Noda,

I just changed your CSS a little bit to

figure.wp-block-image.size-full img {
margin: -20px;
display: left;
}

andit does exactly what I was looking for.

https://a-casaccio.cestudio.de/category/produkte shows the result :slight_smile:

Hi there

That’s so nice to hear :slight_smile:

Looks much better now