Using Web Fonts with


Ed Platz in Archive on March 15, 2011

This is the first in a series of articles about using Web Fonts in popular web authoring sites. I’ll start with

There are two ways to specify fonts on your web site. One way is to create a style sheet on the Web Fonts portal. The other way is to specify them directly using font-family. You can use one or the other – or both at the same time.

Start by navigating to your Web Fonts account at  If you haven’t done it already, create a project for your blog, add your blog’s domain (i.e. and choose the fonts you’ll use.  If you are planning to use the style sheet method, assign them to selectors. You can use the handy ‘CSS Sucker’ tool to extract your selectors if needed (for more detail, see our blog post entitled “ Web Fonts Adds CSS Sucker and Import/Export Features”). If you’re not sure about which selectors affect which pieces of your text, use (for example) the ‘Inspect Element’ feature of the Firebug plug-in for Firefox. Once your style sheet is all set (and even if you are not using the style sheet method), save it by pressing “save changes and update style sheet”. Now head over to the ‘Publish’  tab. Choose your publishing option, click on ‘Select code’, and copy your code.

Log in to and click on ‘Design’ to get to your blog’s design page. Choose ‘Edit HTML’. You’ll want to save a copy of your template in case you mess things up. Now, in the ‘Edit Template’ box, locate the string “</head>”. Paste the code before the </head> statement. Save it away, refresh and you should see the effects of your style sheet changes. If not, give it a couple minutes – sometimes the CDN needs some time to propagate your changes.

You can now use the font-family property as you ‘Edit HTML’ on The Web Fonts ‘Publishing’ page tells you the font-family names to use:

Great Type Makes Sites Stand Out

Start your free web fonts subscription today

Start Subscription