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

What is Framer? Join the Community
Return to index

4 Comments

Aaron Paterson

I was trying to figure out how to adjust html text this weekend with not too much luck. Anyone knows now to 'centre' and 'increase pt size'?

Andreas Wahlström

hi! you need to do it through the style object using regular CSS. So for horizontal centering, try layerB.style.textAlign = "center". For vertical, try: layerB.style.lineHeight = "120px". Text size can be adjusted using layerB.style.fontSize = "50px". Here's a plugin I wrote that might be of interest, too: https://github.com/awt2542/textLayer-for-Framer

Aaron Paterson

Thanks

Joon Won Lee

Great

Read the entire post on Facebook