This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Enrique Gonzalez
Posted Jun 21 - Read on Facebook

What is the most straightforward way to vertically and horizontally center text in a layer?

Currently I'm using two layers; making the text its own layer with a null background and applying superlayer and sublayer relationships along with positioning. It works well, but I wonder if there is a simpler way where I can just use one layer. Any help is appreciated, thanks.

2 Comments

Andreas Wahlström

a combo of textAlign and lineHeight should work: http://share.framerjs.com/fmeuc3q9bg74/

Jorn van Dijk
Read the entire post on Facebook