Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Using one font for headings and another for text

From: Choosing and Using Web Fonts

Video: Using one font for headings and another for text

There are many ways to work with more than one font in a website. One way is to use the fonts for separate purposes. For example, earlier in the course, when we looked at Modern fonts, we couldn't find any that worked in text. That's because Modern fonts have such thin thins they get lost on the screen at text sizes. But if we were to use one font for headings and the other font for text, we might be able to use a Modern font for a heading. I followed the process from the last lesson and compared Unna, our Modern font, to all of the other fonts we've used in this course.

Using one font for headings and another for text

There are many ways to work with more than one font in a website. One way is to use the fonts for separate purposes. For example, earlier in the course, when we looked at Modern fonts, we couldn't find any that worked in text. That's because Modern fonts have such thin thins they get lost on the screen at text sizes. But if we were to use one font for headings and the other font for text, we might be able to use a Modern font for a heading. I followed the process from the last lesson and compared Unna, our Modern font, to all of the other fonts we've used in this course.

There are lots of other fonts out there but I wanted to keep it limited to the ones we've already looked at. Due to Unna's structure which isn't Humanist, I think Nimbus Sans might work for us. I'm a little concerned it might feel too dark on the page with Unna, Nimbus Sans has a slightly heavy weight, so I've got Arial as a backup. I actually think from experience that Arial will work better but I want to try Nimbus Sans first because I'm tired of using default fonts and I want to use something new. For the rest of this lesson, I'm going to show you how I made decisions about pairing Unna with a Transitional Sans Serif font.

If you'd like, you can sit back and watch. If you want to follow along in the CSS, you can. I saved a copy of our Nimbus Sans page in the Exercise Files for this chapter. I've named it nimbus_sans_tk_unna_site.html. Let's open it up in our Text Editor. I've already added Unna to the file. I want to point out two things. One, we're using both the Google font and a Typekit font in the same file. I rarely do this.

I find that when I do, the fonts load a little more slowly. But if you do do it, I recommend putting the Google font syntax before the Typekit syntax. The other thing I want to point out is that Nimbus Sans won't work on your page. That's because the embed code is from my kit and only works on my server. So you need to go to Typekit, make sure Nimbus Sans is in your kit, publish it and copy and paste your embed code into your HTML document. Upload your file to the server. When you're done, meet me back here.

Okay, now that your Nimbus Sans is set let's look at what we have. We can see that Nimbus Sans is in the universal selector. That makes sense because this file was created from our old Nimbus Sans file. I've already added Unna and we have it for the H1 set at 37 on 39 pixels. We have it in the H3 set on 30 on 30 pixels. In the H4 it's set at 23 on 23 pixels and I've set the font weight to normal because Unna doesn't have a bold.

I've also added it to the quote set at 22 on 27 pixels and I've removed the font style italic because Unna does not have an italic. Now let's take a look at this in the Browser. You can see the two fonts I used on the page. The headings and quote are in Unna and the rest of the text is in Nimbus Sans. I'd like to try and pull the heading font into the page a bit so it doesn't feel too separate from the text. Using Unna in the quote helped me do this. But there is a bit of a problem with hierarchy.

Unna doesn't have a bold or italic, so I'm basically only using size to separate the main heading from Around Town and in Save the Date to the event and article headings. And there isn't quite enough hierarchy, the headings feel too similar. If we look at Save the Date and the Library Used Book Sale, they sort of blend in, there's not quite enough difference between the two of them. So I saved another version of the document and I tried to make more hierarchy simply by capitalizing our Around Town and Save the Date headings.

I've also added one pixel of letter spacing. Modern fonts have a beautiful contrast between thick and thin and an elegant structure and it really comes out when it's set in all caps with a little bit of spacing. But the problem now is that Around Town and Save the Date stand out too much. They're sort of big and clunky and they begin to compete with the main heading. So I saved another version of the document and made these a little bit smaller. I changed the size to 25 pixels. Now they don't compete with the main heading which is good but they've lost some of their power in the right-hand column here.

Again, these two headings are starting to feel too similar. I think the problem is our H4, which is the event and article headings. They don't have quite enough hierarchy. As I scan down this right column looking for an event, they don't pop out at me. So I saved the document again and changed our H4s to 17 pixel bold Nimbus Sans. This helps chunk the events and make the titles pop out. I'll scroll down again. But now my main problem is that the Nimbus bold is too heavy.

If we look here again at Library Used Book Sale, the e is starting to almost fill in, it feels very heavy under the SAVE THE DATE. So I decided to just give up and try to make the Nimbus Sans work with the Unna, and I made another version using Arial. It's a good font. It has the lighter strokes so the e is no longer filling in here under Used, and then also the text weight is a little bit lighter as well. And there is a good contrast between the bold and the regular text, and I think that contrast works really nicely with the thick and thin strokes of the Unna.

So using the Arial feels a little bit more appropriate to me with the Unna. Nimbus Sans, we'll pop back to that. It's a lovely font but it just doesn't work in this context. The Arial feels lighter and it feels a little bit more cohesive. I've provided both the final Nimbus Sans file and the Arial file in the final Exercise Files, if you want to see the final type settings. Working with two fonts means spending time and figuring out the hierarchy. It also means being willing to make changes as you work through the process.

Show transcript

This video is part of

Image for Choosing and Using Web Fonts
Choosing and Using Web Fonts

89 video lessons · 6944 viewers

Laura Franz
Author

 
Expand all | Collapse all
  1. 4m 41s
    1. Welcome
      1m 2s
    2. What you should know before watching this course
      1m 52s
    3. Using the exercise files
      1m 47s
  2. 14m 55s
    1. Recognizing the anatomy of letters
      4m 17s
    2. Understanding font classification
      4m 38s
    3. Finding and testing web fonts
      3m 41s
    4. Identifying common problems in fonts
      2m 19s
  3. 43m 43s
    1. Understanding Venetian fonts
      4m 0s
    2. Identifying a Venetian font
      4m 46s
    3. Understanding handwritten letters
      3m 22s
    4. Choosing a Venetian font
      3m 47s
    5. Creating a Typekit account and building a kit
      3m 43s
    6. Adding a Venetian font (Calluna) to your kit
      2m 51s
    7. Applying Calluna to your web site
      5m 54s
    8. Troubleshooting Typekit fonts that don't load
      2m 2s
    9. Changing styling as necessary to improve the readability of the text
      4m 25s
    10. Working with more than four styles in Typekit
      5m 22s
    11. Looking at how using a Venetian font affects the look and feel of a web page
      3m 31s
  4. 32m 53s
    1. Identifying an Old Style font
      6m 26s
    2. Choosing an Old Style font
      4m 30s
    3. Applying Crimson Text to a web site using Google web fonts
      3m 8s
    4. Changing styling as necessary to improve the readability of the text
      9m 20s
    5. Making various weights and styles work correctly across different browsers
      5m 16s
    6. Looking at how using an Old Style font affects the look and feel of a web page
      4m 13s
  5. 21m 12s
    1. Identifying a Transitional font
      5m 10s
    2. Choosing a Transitional font
      6m 36s
    3. Applying PT Sans to a site via Typekit
      2m 57s
    4. Changing styling as necessary to improve the readability of the text
      2m 59s
    5. Looking at how using a Transitional font affects the look and feel of a web page
      3m 30s
  6. 16m 58s
    1. Identifying a Modern font
      7m 50s
    2. Choosing a Modern font
      4m 0s
    3. Using Typekit to find and test web fonts
      5m 8s
  7. 26m 52s
    1. Identifying a Slab Serif font
      4m 30s
    2. Choosing a Slab Serif font
      3m 58s
    3. Deleting a font from your Typekit
      3m 1s
    4. Exploring a font with multiple weights and styles
      9m 41s
    5. Looking at how using a Slab Serif font affects the look and feel of a web page
      5m 42s
  8. 26m 52s
    1. Identifying "Other" Serif fonts
      5m 28s
    2. Choosing "Other" Serif fonts
      10m 12s
    3. Using a font without an italic
      7m 6s
    4. Looking at how using an "Other" Serif font affects the look and feel of a web page
      4m 6s
  9. 20m 34s
    1. Identifying a Transitional Sans Serif font
      4m 29s
    2. Choosing a Transitional Sans Serif font
      5m 14s
    3. Changing styling to improve the readability of text
      6m 31s
    4. Looking at how using a Transitional Sans Serif font affects the look and feel of a web page
      4m 20s
  10. 31m 23s
    1. Identifying a Geometric Sans Serif font
      2m 51s
    2. Choosing a Geometric Sans Serif font
      4m 33s
    3. Downloading a free font licensed for use on the web
      3m 53s
    4. Using Font Squirrel to create an @font-face kit
      5m 12s
    5. Adding the @font-face syntax to the CSS
      2m 57s
    6. Implementing the font family in the CSS
      5m 29s
    7. Changing styling as necessary to improve the readability of the text
      3m 56s
    8. Looking at how using a Geometric Sans Serif font affects the look and feel of a web page
      2m 32s
  11. 21m 3s
    1. Identifying a Humanist Sans Serif font
      4m 18s
    2. Choosing a Humanist Sans Serif font
      7m 23s
    3. Changing styling as necessary to improve the readability of the text
      5m 32s
    4. Looking at how using a Humanist Sans Serif font affects the look and feel of a web page
      3m 50s
  12. 18m 28s
    1. Understanding handwritten fonts
      3m 4s
    2. Choosing a handwritten font
      8m 17s
    3. Looking at how using a handwritten font affects the look and feel of a web page
      7m 7s
  13. 33m 2s
    1. Understanding what to look for when pairing fonts
      6m 58s
    2. Using one font for headings and another for text
      6m 6s
    3. Using different fonts for different kinds of information on the page
      8m 38s
    4. Mixing and matching fonts within text
      3m 48s
    5. Looking at how using two fonts affects the look and feel of a web page
      7m 32s
  14. 23m 34s
    1. Understanding Script fonts
      2m 19s
    2. Choosing a Script font for display use
      8m 12s
    3. Changing styling as necessary to improve the form and placement of letters on the page
      3m 33s
    4. Choosing a second font to pair with the Script Display font
      3m 42s
    5. Incorporating a second font with the Script Display font
      2m 53s
    6. Setting fallback fonts
      2m 55s
  15. 26m 38s
    1. Understanding Wood Type fonts
      3m 25s
    2. Choosing a Wood Type font for display use
      8m 35s
    3. Changing styling as necessary to improve the form and placement of letters on the page
      4m 57s
    4. Choosing a second font to pair with the Wood Type font
      2m 28s
    5. Incorporating a second font with the Wood Type display font
      4m 42s
    6. Setting fallback fonts
      2m 31s
  16. 14m 58s
    1. Choosing an Art Deco font for display use
      2m 45s
    2. Changing styling as necessary to improve the form and placement of letters on the page
      3m 51s
    3. Choosing a second font to pair with the Art Deco font
      2m 37s
    4. Incorporating a second font with the Art Deco display font
      2m 57s
    5. Setting fallback fonts
      2m 48s
  17. 27m 38s
    1. Choosing a Futuristic font for display use
      5m 33s
    2. Applying the Futuristic font and changing the styling as necessary to improve the form and placement of letters on the page
      6m 40s
    3. Choosing a second font to pair with the Futuristic font
      2m 48s
    4. Incorporating a second font with the Futuristic display font
      4m 21s
    5. Setting fallback fonts
      2m 22s
    6. Looking at the set of four ads
      5m 54s
  18. 7m 29s
    1. Exploring resources and goodbye
      7m 29s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Choosing and Using Web Fonts.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.