Page 1 of 1

Offset text wrapped around image

Posted: 09 Sep 2022, 14:33
by metallissimus
I am restyling my wedding site and for the testimonials I want to go for a card like look where the image overlaps the border.
Bildschirmfoto 2022-09-09 um 20.29.48.png
Bildschirmfoto 2022-09-09 um 20.29.48.png (191.74 KiB) Viewed 8773 times
I am quite happy with the result, but I don't like the rather huge gap there is now between the text and the image.
Is there any way to bring the text nearer to the image again without having to move the image back into the card?

You can have a look at it here: https://test.danielbollinger.de/kundenstimmen/
user: test
pw: lumarum

I am aware that this is nothing X3 specific, so if it's too much trouble just say so.

Re: Offset text wrapped around image

Posted: 09 Sep 2022, 23:40
by mjau-mjau
You can neutralize the offset by adding negative values to margin-right and margin-bottom. I'm not sure about margin-bottom, because it will will align per line.

Image

Re: Offset text wrapped around image

Posted: 09 Sep 2022, 23:44
by mjau-mjau
You could actually achieve an identical result using only "margin":

Image

Re: Offset text wrapped around image

Posted: 10 Sep 2022, 16:49
by metallissimus
mjau-mjau wrote: You could actually achieve an identical result using only "margin":
Nice simplification! Thanks!