-
asurus
Hi,
i try to align the text block with a outside container, but it doesn’t work. I transformed a version 1 container with text block to version 2, and it is aligned. I tried to replicate it but there is always a space below the text block.
I added a screenshot:
https://postimg.cc/k6Hd6ZT7
I wanted like in the second row.Thanks for the help!
-
Alvind
Hi there,
Can you share the page link so we can take a closer look?
-
asurus
Hi,
I put the link in the private information box.It is the first box under “neue INFO-Box:” the part with the red border.
-
Your text block is a
<p>
tag which comes with a defaultmargin-bottom
, can you try setting itsmargin-bottom
to 0 in the spacing panel? -
asurus
Perfect, that works. Thanks!
Though I had to set in both boxes, the margin to 0. Also, the margin-bottom field was empty. I am not an expert, but would it not be better to set an actual number in the margin-bottom field if it comes with a default margin-bottom? -
Alvind
Hi there,
If the paragraph’s margin-bottom value is empty, it will inherit the theme’s default value of 1.5em. So in order to override this, set a specific value in the block’s typography settings.
-
asurus
Thank you guys, for the explanation and help! Really appreciate it!
-
Alvind
You’re welcome!
- You must be logged in to reply to this topic.