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.

Left align text in center of container

  • Hi!
    I am trying to left-align my text and have it in the center of a container in a grid block. Been trying out a couple of settings but I don’t get it.. Is it even doable within a grid block?
    Look at the container with the text “Kontakta oss”.

    Best,
    Johan

  • Hi there,

    I am trying to left-align my text and have it in the center of a container in a grid block.

    Sorry I don’t quite understand the description. How can something be left aligned and centered at the same time?

    Do you have an example to show?

    Let me know ๐Ÿ™‚

  • Hehe, sorry for my unclear description ๐Ÿ™‚
    Check the screenshot.

  • Select the paragraphs, and click the add to container button.

    Now select the newly added container, set its width to fit-content.

    Select its parent container which is the Grid container, and use the flexbox alignment matrix to align the newly added container to the center.

    Let me know if this helps!

  • Got it! Thanks!

  • You are welcome ย  ๐Ÿ™‚

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