Start learning with our library of video tutorials taught by experts. Get started

Choosing and Using Web Fonts
Illustration by
Watching:

Applying Calluna to your web site


From:

Choosing and Using Web Fonts

with Laura Franz

Video: Applying Calluna to your web site

Let's take a look at the page we're going to add these fonts to. This is the original site for the course called georgia_site.html. It's a site for a city called Springfield, Rhode Island. The site uses Georgia Regular for the text, links, and some headings. It uses Bold for other headings, and over here on the side, it uses Italic for a quote. So for now, these are the weights and styles we're going to use. We're going to change the site, so it uses Calluna.
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

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Choosing and Using Web Fonts
6h 52m Appropriate for all Jun 27, 2012

Viewers: in countries Watching now:

This course focuses on the theories behind web fonts: what makes a good font, why different fonts look the way they do, and how fonts affect the look of a web page. Author Laura Franz covers common tasks, including downloading a font from an online source such as Typekit or Font Squirrel, implementing the font in HTML and CSS, and changing the size and line-height to improve the readability of text. The course also covers different periods of type design and explores the history behind handwritten fonts, text fonts (used for large amounts of text), and display fonts (used for headlines).

Topics include:
  • Explaining the history of text fonts, from Old Style, Transitional, and Modern to Slab Serif and Sans Serif
  • Understanding font classifications
  • Setting up a Typekit account
  • Choosing a quality font based on forms, spacing, and weights and styles
  • Accessing fonts from various sources
  • Implementing fonts with the @font-face syntax
  • Looking at how fonts affect the look and feel of a web page
  • Changing font styling to improve readability
  • Making various font weights and styles work correctly across multiple browsers
  • Pairing fonts (headline and text, two fonts in text, and so on)
  • Setting fallback fonts
Subjects:
Design Typography Web Web Design Web Fonts
Author:
Laura Franz

Applying Calluna to your web site

Let's take a look at the page we're going to add these fonts to. This is the original site for the course called georgia_site.html. It's a site for a city called Springfield, Rhode Island. The site uses Georgia Regular for the text, links, and some headings. It uses Bold for other headings, and over here on the side, it uses Italic for a quote. So for now, these are the weights and styles we're going to use. We're going to change the site, so it uses Calluna.

Open the original Georgia site in your text editor. I use TextWrangler, but you can use any text editor you prefer. If you're using Dreamweaver, I recommend working in code view. We'll start by re-saving the file. Save it as calluna_tk_site.html. You can save it in the original folder, since we won't rewrite anything, and we won't be touching the images or CSS for the site, nothing will get rewritten.

But now let's take a look at the code. Usually, I put all the CSS in a CSS file, and then connect the HTML documents, but for this course, I've put all the typography related CSS into the head of the HTML document. There is quite a bit there. And after the CSS, you can see that the HTML starts. The rest of the CSS is contained in a CSS document called springfield.css, and we won't be making any changes to that file. What we need to do is add Calluna to this file, so the browser pulls in Calluna, not Georgia.

So the first thing we need to do is grab the JavaScript code from Typekit. Now, I had put my kit editor away, and if you ever do that, you can just click on the screen button called Launch Kit Editor, and go to Embed Code, and then you can highlight and copy the code here. We did also put this code into a Word document, so if you wanted to, you could get the code from there as well. Now, back in the HTML document, we put that code as the first item in our head. So I put it above the title, pasting it in, and now I have a code that tells Typekit to use fonts from that kit in this file, but I haven't told it yet which fonts I want to use.

You can see here in my universal selector that the file is still using Georgia. So now we need to go and get the font family name for Calluna. Click on the link called Using fonts in CSS, and we can see that the font-family is simply Calluna. I highlight that, including the quotation marks, and copy it, and paste it into my CSS, including a comma, so that I now have a font stack. If for any reason Calluna doesn't work, the site will use Georgia, or a default serif.

Now we need to set our bold and italic properly. Let's go back over into Typekit, scroll down to a link here called Using Weights & Styles in CSS, and we can see that the Regular Calluna is 400, and the Bold is 700. Now, these are default font weights, so if you want to just keep your normal fonts set to normal, that's fine. The browser will look for the normal weight version of the font, and will pull in the closest weight, which is 400. The 700 means Bold. So if you just keep it set as Bold in your CSS, the browser will look for the Bold version of Calluna, and if it doesn't find one, it will use the closest thing, which is the 700 weight.

So you could theoretically keep them set as Normal and Bold in your CSS, but it's a good habit to use numerical values when you're using Web fonts with multiple weights and styles, because some fonts, as we'll see in this course, don't follow the 400, 700 rule for regular and bold. So you should always check these numbers, and use them in your CSS. So back in the CSS, we're going to set the universal selector to 400, and then the places where we use bold are in the h4, we'll change that to a 700, and then the strong, we'll change that to a 700, and that's it.

I'll save this, and then go over to the browser and take a look at it. And I'll reload, and it's still Georgia. That's because Typekit can't interact with your page and serve the fonts unless your file is on a server. So we need to put our file on a server. I'm using Mozilla. I like the drag and drop capabilities, but you should use whatever FTP application you prefer. On the left is my server space, and on the right is the exercise file.

We need to put our Calluna file over into your server space, and we'll also need the springfield.css file and the images so it will work. Then we need to go and view the page from the server, and it's now in Calluna. It's a very slight shift, but you can tell -- I'll zoom in here -- you can see how the crossbar on the e is now rising. I'll zoom back out. So we have Calluna working in our site.

You'll remember I had you name your file with a tk in it; the tk stands for Typekit. This is a habit I've gotten into, because all the other fonts I use will load when the files are on my Desktop, and I used to freak out when I try to view a site, and the fonts didn't work. I had to remember to put my files on my server. So now when I'm creating a new site, I'll often add the tk somewhere. Usually I put it in the folder name, or in a text file inside the folder, so the people viewing the site don't see the tk, but it helps me to remember to upload my files to the server in order to see the fonts.

There are currently no FAQs about Choosing and Using Web Fonts.

 
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.
Upgrade now


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 Upgrade now

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

Notes cannot be added for locked videos.

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.