Row with 2 columns, image on one side, text on the other side. How do I center the text vertically, so it is in the middle of the image?

Row with 2 columns, image on one side, text on the other side. How do I center the text vertically, so it is in the middle of the image?

Thanks in advance.

Hello Alex,

Thanks for writing in!

To have a row with 2 columns, image on one side, text on the other side by which the text is centered vertically, please do the following:

  • Edit the page in the editor and click your row.
  • In the row settings, enable the “Marginless Columns” options
  • Click the column containing the text and find the “Customize” tab.
  • Insert an inline element css:
$el {
  vertical-align: middle !important;
}
  • When marginless column is enabled in the row settings, the columns will touch each other. You will need to add some padding in each column to have some space between them.

Hope this helps.

Thanks! It worked.

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.