Vertically center a row within a section

Good afternoon,

I would like a section to fill 100% of the screen when you first go on the site and for the row within it to in the middle.

So far I added a class name to the section and added this css:

.FullHeight {
  height:100vh;
}

This has made the section full height. However what do I need to do to make the row in the middle of the section?

Login details / location in secure note. I also have the latest of everything

Thank you!
Jason

1 Like

Hi There,

To make 2 columns vertical center, please update your custom CSS to this:

.FullHeight {
    height: 100vh;
    display: flex;
    align-items: center;
}

To learn the flex layout CSS, please take a look at this article: https://css-tricks.com/snippets/css/a-guide-to-flexbox/.

Hope it helps :slight_smile:

This is perfect Thai - thank you very much!

you are most welcome!

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