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

What is Framer? Join the Community
Return to index
Leonel Duran
Posted Aug 23 - Read on Facebook

Newbie question, How can I center a text in a shape ?

3 Comments

Josh Ackerman

Here is a good example of how to center text, https://www.facebook.com/groups/framerjs/permalink/874670109326728/

Jun-Seok Kim

Use css property with camelcase. yourLayer.style = {"textAlign":"center"}

Benjamin Den Boer

The shorthand is: layer.style.textAlign = "center" :-)

Read the entire post on Facebook