Making text align vertically in the centre of a box

I know this can be done by coding raw css i.e.

http://www.w3.org/Style/Examples/007/center.en.html

But is there a way of doing this from within webflow?

Edit the Body Class to have a Height of 100%
Wrap you text in a div container and give it a class name, and then in the Position panel:

Set the Position to Relative
Top to 50%

Then in the Transforms panel:
Click add Add Translate and set it to -50%

4 Likes

Thanks for that. I’ll give that a try.

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