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 the elements of two columns with flexbox

  • Hi,

    I would like the elements of two columns to be aligned, even if there’s not the same amount of content for each element. I use flexbox.

    I let you see the screenshots to better understand.

    Thank you!

  • Hi there,

    You currently created 3 columns (40%,30%,30%), it’s not possible for the 2nd column content to align with the content in 3rd column.

    I would suggest creating 2 columns (40%, 60%), and on the right column, use 1st flex container to contain Service clé-en-main and Maintenance préventive de l’équipement, use 2nd flex container to contain Précision exceptionnelle and Surveillance collective.

    Here’s a screenshot for your reference: https://app.screencast.com/qXu1s8mVCZzSv

  • I tested your solution, then I tested with grid, and I have a better result with grid, so I stick with that.

    Thank you Ying!

  • Great! You are welcome   🙂

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