Layout & Design

Text Styles in Framer (Fundamentals Lesson 19)

Text Styles in Framer (Fundamentals Lesson 19)

Text Styles in Framer (Fundamentals Lesson 19)

Joseph

·

7:06

·

25K views

·

About this lesson

Just about everything we covered about color styles in the previous lesson applies directly to text as well — with a few small differences that are naturally specific to text. Now, let’s take a look at the ins and outs of Text Styles in Framer.

https://www.youtube.com/watch?v=pyiqBksVljQ&t=0s Intro

https://www.youtube.com/watch?v=pyiqBksVljQ&t=10s Creating text styles in Framer

https://www.youtube.com/watch?v=pyiqBksVljQ&t=42s Applying heading tags and understanding hierarchy

https://www.youtube.com/watch?v=pyiqBksVljQ&t=74s Connecting layers to a shared style

https://www.youtube.com/watch?v=pyiqBksVljQ&t=116s Overriding color and alignment in text styles

https://www.youtube.com/watch?v=pyiqBksVljQ&t=172s Detaching from a text style

https://www.youtube.com/watch?v=pyiqBksVljQ&t=194s Managing text styles in the Assets panel

https://www.youtube.com/watch?v=pyiqBksVljQ&t=228s Why some text styles can’t be deleted

https://www.youtube.com/watch?v=pyiqBksVljQ&t=266s Finding and detaching applied styles

https://www.youtube.com/watch?v=pyiqBksVljQ&t=305s Merging similar text styles

https://www.youtube.com/watch?v=pyiqBksVljQ&t=329s Applying styles to all headings of the same tag

https://www.youtube.com/watch?v=pyiqBksVljQ&t=386s Wrap up

🌞 Start for free: https://framer.link/yt

📚 Learn more at: https://framer.link/yt-academy

💎 Join the Community: https://framer.link/yt-community

🎉 Follow on X: https://framer.link/yt-x

0:00just about everything we covered about0:02color styles in the previous lesson0:04applies directly to text as well with a0:06few small differences that are naturally0:08specific to text now let's take a look0:11at all the ins and outs of text Styles0:14in0:15[Music]0:17framer just like we did for colors I'll0:20start by selecting a layer to create a0:22style from with my heading here selected0:25I'll head down to the text section of0:26the properties panel where we see Styles0:29and then button here where we can view0:31all of the text styles that are in our0:33project currently there aren't any so0:36I'll click to create a new style and0:38then I get to choose a heading tag or a0:40paragraph tag now if you're not familiar0:42with these heading tags they are in0:45order of hierarchical importance from0:47one being the top most important heading0:50on the page usually the largest usually0:52the first heading on the page all the0:54way down to heading six or H6 which is0:57the least significant least important1:00and least hierarchically dominant1:01heading that we have on the page since1:04this style is always going to be used1:06for the main heading on any given page1:08I'm going to choose heading one and1:10that's it now we have our heading one1:12style that we can go and apply to all of1:14the main headings on all of the pages of1:16our site but we only have one H1 on this1:19page so let's do another example I'm1:21going to grab the price down here which1:24is another pretty dominant heading that1:25we have and I'll create a new style and1:28this one I'll name heading two cuz1:30hierarchically this is below that main1:33heading that we have at the top cool so1:35now that we have a heading two I can1:37select this other price and I can choose1:39heading to to apply it and you might be1:41thinking okay nothing really happened1:43but what happened was this layer became1:46connected to the style and now that both1:48of these text layers are connected to1:50the style I can go and edit it and now1:53all of these properties are connected to1:54the style therefore connected to all of1:57the layers that share that style so just1:59for the sake example I'll play with the2:01size here so you can see that both of2:03these text layers do in fact change2:06together but we also have this one in2:07the middle so let me select that and I'm2:10going to apply the same textile to that2:13one as well that heading to now it looks2:15like it disappeared because part of the2:17definition of this heading 2 is the2:20color black but for our convenience so2:23that we don't have to create extra2:25styles for different colors and2:26Alignment we can actually come over here2:28on the properties panel and we can2:30override the color we can also override2:32the alignment but I'm going to override2:34the color here to make it white and all2:36of the other properties besides the2:38color are still connected to heading 22:41so again if I go and edit this it is2:44still just like the other two all three2:46of them are still connected to this2:48heading 2 style we just don't have to2:50worry about the color issue because2:52we're able to override colors2:54individually on a layer by layer basis2:56and if I wanted this layer to completely2:58deviate from the style I changed my mind3:01I can come up here and click this little3:02X to detach from the style and then I3:05get my regular text properties back3:07where I can make a change and it won't3:09affect anything else but this layer now3:11let's look at how to edit and manage our3:14text styles again I'm going to jump to3:16another version of this document where3:18I've created and applied text Styles3:20everywhere that makes sense and if I3:22head over here to the assets panel again3:24you'll see that now we have our color3:25styles from earlier we have our link3:27styles from earlier and we have our text3:29Styles which I've just created and much3:32like our other types of styles we can3:33sort them alphabetically we can create3:35new folders or we can create a new style3:38directly from the assets panel here and3:41we can also click the ellipses here next3:42to a style in order to rename it3:45duplicate it or delete it but you'll3:46notice that delete is actually gray out3:48for this heading the reason for that is3:50that you can't delete a Tex stle that is3:53currently being used on a text layer3:55somewhere in the document unlike color3:57styles which will detach themselves3:59automatically4:00textiles are a little bit more serious4:02in that regard so in this case I would4:05want to click on the Ellipsis choose4:07find so we can figure out which text4:08layer is the one that this is applied to4:11and on my homepage here I have this4:13particular text layer which I can then4:15go and detach from the textile now if I4:18head back over to the assets panel and4:20look again delete is still grayed out4:23that's actually because if I go to find4:25it turns out there's another page we4:27actually get the title of the page where4:29this style is being used on a layer and4:32if I click on that it'll take me4:33directly to that other page and I can4:34see that I actually have kind of a style4:36guide here for myself where I have the4:38style applied here as well so I'm going4:41to detach it from there and now we4:43should be good to go back over to4:44heading three it's not being used4:46anywhere now I have the option to delete4:49it and one last thing that I want to4:51show you is if you have two similar4:53Styles like in this case I have this H14:55and this H2 and the main difference here4:59is just a size of 60 versus a size of 505:02what I could do is click the Ellipsis5:05and say that I would like to replace5:06this entire Style with the style of5:10heading one and with this it's going to5:12go in one big batch find every layer5:14using heading two and switch it to5:17heading one and then since heading two5:19isn't applied to any layers anymore I5:21can come back here and I can delete it5:23as well and then the very last thing you5:26might have noticed on that overflow menu5:28is that when I click for example on this5:30H1 heading there's the option here to5:33apply it to all H1s now you might be5:35thinking if I had text somewhere in my5:38document that was considered a heading5:39one wouldn't it be considered heading5:41one because it's connected to this5:43heading one style already and the answer5:45is no you can Define text as a heading5:48one a heading two a heading three a5:50paragraph Etc without connecting it to a5:53style so before you even go and set up5:55your Styles you may have already5:56determined that a heading should be5:58considered and H1 and that's at the very6:01bottom of the properties panel in the6:03accessibility section there's something6:05here called a tag where we can say to a6:08search engine or to a screen reader that6:10this is hierarchically the top level of6:13heading and if we've done so without6:15applying a style we can quickly just go6:17to the assets panel and use that option6:20that says apply to all H1s in one click6:23that'll apply our heading one style to6:26every text layer that has an H1 tag and6:29there you have it now you know how color6:31text and Link Styles help you to create6:33a solid foundation to make your design6:35process more efficient and your projects6:37more consistent so spend a little extra6:39time up front to get your Styles dialed6:41in and you'll save countless hours of6:44tedious unnecessary work for yourself6:46down the road that's it for this one but6:48stay tuned because in the next lesson6:50we're going to look at how to theme our6:52color styles for light mode and dark6:54mode

Watch on YouTube ↗

More in this topic

8 Framer shortcuts you're probably sleeping on4:19
8 Framer shortcuts you're probably sleeping on
Layout & Design3K views · 2 months ago
Framer Update: Stack Sorting and Bento Grids2:16
Framer Update: Stack Sorting and Bento Grids
Framer Update7K views · 2 months ago
Sharing Vector Sets Across Projects (Vectors Lesson 7)3:41
Sharing Vector Sets Across Projects (Vectors Lesson 7)
Layout & Design1K views · 3 months ago
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)3:38
Connecting Vector Sets to the Framer CMS (Vectors Lesson 6)
Layout & Design2K views · 3 months ago
Animating Vectors in Framer (Vectors Lesson 5)4:25
Animating Vectors in Framer (Vectors Lesson 5)
Layout & Design4K views · 3 months ago
Customizing Vectors with Variables in Framer (Vectors Lesson 4)4:59
Customizing Vectors with Variables in Framer (Vectors Lesson 4)
Layout & Design3K views · 3 months ago
Replace component instances site-wide in Framer1:39
Replace component instances site-wide in Framer
Layout & Design4K views · 4 months ago
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)6:58
Creating and Organizing Vector Sets in Framer (Vectors Lesson 3)
Layout & Design3K views · 4 months ago

Create a free website with Framer, the website builder loved by startups, designers and agencies.