Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Align Text block with container

  • 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!

  • Hi there,

    Can you share the page link so we can take a closer look?

  • 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 default margin-bottom, can you try setting its margin-bottom to 0 in the spacing panel?

  • 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?

  • 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.

  • Thank you guys, for the explanation and help! Really appreciate it!

  • You’re welcome!

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