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

What is Framer? Join the Community
Return to index
Jairo Avalos
Posted May 20 - Read on Facebook

Having trouble with formatting text.

# Add a title to the tab bar item
tabItem.html = "v OAK \n TONIGHT - 7:15 PM"
tabItem.style =
color: "#969696"
textAlign: "center"
lineHeight: "92px"
fontWeight: "500"
fontSize: "24px"

Framer Studio seems to be having trouble reading this because the text doesn't show up as 2 lines, split at the "\n"

Anyone else have this issue?

1 Comments

Balraj Chana

It's html so you want to use a line break, not a new line. Simply replace \n with <br> or separate the text using <p> tags and it should work.

Read the entire post on Facebook