Search…

X3 Photo Gallery Support Forums

Search…
 
metallissimus
Experienced
Topic Author
Posts: 331
Joined: 17 Oct 2019, 06:54

Offset text wrapped around image

09 Sep 2022, 14:33

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 6020 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.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Offset text wrapped around image

09 Sep 2022, 23:40

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Offset text wrapped around image

09 Sep 2022, 23:44

You could actually achieve an identical result using only "margin":

Image
 
metallissimus
Experienced
Topic Author
Posts: 331
Joined: 17 Oct 2019, 06:54

Re: Offset text wrapped around image

10 Sep 2022, 16:49

mjau-mjau wrote: You could actually achieve an identical result using only "margin":
Nice simplification! Thanks!
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography