Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fun with Fonts: Using The Right Fonts For Your ...

Amber Hewitt
September 16, 2017

Fun with Fonts: Using The Right Fonts For Your WordPress Website

Readability is an important part to any website. Choosing the right font can make all the difference in any design. Discover where you can get web fonts (free, subscription, or download and install yourself). Learn how to select the right fonts, size your fonts correctly, and add them to your WordPress website without slowing it down.

Presented at WordCamp Sacramento 2017 // September 16, 2017

Amber Hewitt

September 16, 2017
Tweet

More Decks by Amber Hewitt

Other Decks in Design

Transcript

  1. Choosing the Right Fonts Know your context • What are

    you trying to convey? • Is it long-form reading or short bursts of text? • Use word association: powerful, playful, innocent, handmade, industrial, etc. • Is it appropriate?
  2. Pairing Fonts • Look for distinction • Look for harmony

    • Some fonts have a sans and serif 
 (Freight Sans Pro & Freight Text Pro) • Look at other websites for good 
 font pairings • Do you need more than one font?
  3. Setting Your Type • Type Size
 (16px for mobile, 18-22px

    for desktop) • Line-width
 (45-75 characters wide) • Line-height
 (for reading comfort) • Type color & contrast
 (for readability and accessibility)
  4. Setting Your Type Hamburge Hamburge Hamburge Hamburge Hamburge Hamburge Hamburge

    Hamburge Hamburge Hamburge Hamburge Hamburge Hamburge Hamburge
  5. Where to Get Web Fonts Download Web Fonts Most sites

    that sell desktop fonts 
 have web fonts as well
  6. Loading Fonts @font-face {
 font-family: Elena, serif;
 src: url(elena-regular.woff2) format(“woff2”),


    url(elena-regular.woff) format(“woff”),
 url(elena-regular.otf) format(“opentype”);
 font-weight: normal;
 } Loading fonts from your server in CSS
  7. Using Fonts in CSS h1 {
 font-family: Whitney, Georgia, serif;


    font-size: 72px;
 font-weight: bold;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 } HAMBURGE Result:
  8. Resources Better Web Typography (free email course)
 betterwebtype.com Combining Typefaces

    (free PDF)
 https://typekit.files.wordpress.com/2016/04/ combiningtypefaces.pdf Webfont Handbook by Bram Stein
 https://abookapart.com/products/webfont- handbook
  9. Resources Typecast (test fonts for free)
 typecast.com HTML Arrows (Codes

    for special characters)
 htmlarrows.com Type Scale (Calculator for sizing headings)
 type-scale.com