The post How to Add Google Fonts to Your WordPress Website appeared first on HostGator Blog . Is Your Site Using the Right Font? Thanks to the growing number of mobile internet users, finding the right font has become a big project for site designers, publishers, and retailers. The BBC and the Guardian have recently debuted new bespoke fonts designed to be easier to read on phones—and save the companies money on licenses for commercial fonts. Even if you don’t have a flagship-media budget, there are ways you can update your site fonts for better readability, a more consistent appearance across browsers and devices, and faster page-load times to help your SEO. What Fonts Are Best for Your Site? Whether you’re a design fan or someone who likes to consider all the options, it’s really easy to fall down a rabbit hole of fonts. There are thousands of open-source fonts that anyone can download and use, and thousands more available for purchase. Because you want fonts that make your website easier to use and faster, it’s probably best to limit yourself to Google Fonts , a repository of open-source fonts that are easy to read on small screens and which cache quickly to speed up page load times. At this writing, Google Fonts offers a mere 848 font families, 823 of which work for English-language copy. To narrow down your 800-plus choices, you’ll need to apply some basic font choice principles , like those described by Janie Kliever at Canva. Two to three fonts is the ideal number for most sites. If you stick with only one, your site may look sterile and visitors may have a hard time figuring out which text is a headline and which is your main copy. More than two or three fonts can make the site look chaotic and amateurish. Choose fonts that have some contrast so that they create a visual hierarchy. For example, you could use a bold or serif font for your headlines so they stand out and a simple sans serif font for body copy so it’s easy to scan, even on a smartphone. Google Design gives a broader overview of typography, fonts, and how to find the best fonts for your site in their Choosing Web Fonts: A Beginner’s Guide . Among the things the authors say you should consider are: Are you designing your site for the long-term or short-term? Long-term projects often need font families with many style options. How long will your text blocks be? Even on-screen, serif fonts are a good idea if you’ll feature five or more paragraphs at a time. What size will your type be? Simpler fonts are easier to read at small sizes, but they may not stand out enough in headlines. Will your visitors translate your site into other languages? If so, you’ll need to choose a font family that supports multiscript characters so those translations display properly. The guide recommends a few fonts for specific situations to help you get started. You can also browse the entire Google Fonts library here . Finding Google Fonts for Your Site When you’re ready to explore Google Fonts, it can be a bit of a challenge to navigate the somewhat clunky directory to find the right typefaces. As an example, let’s walk through looking for a serif font to use for headlines on a site for a petsitting business—something bold and businesslike but a bit playful. In the Google Fonts search filter sidebar, you can select the serif category and decide how you want the results presented—by age, popularity, or alphabetized by name. Under languages, you can narrow your results to typefaces that support English by selecting ‘Latin’ (confusing, but we do use the Latin alphabet). Next, you can check the boxes to open slider menus and fine-tune your options for number of styles (variations on the font, like lighter, bolder, or italic), thickness, slant, and width. By choosing ‘serif’ and ‘Latin,’ you get 174 options for your petsitting website headline font. Bree Serif looks like it could work. To see how your copy will look, you can replace the dummy copy with your text by inserting the cursor, clearing out the dummy text, and entering ‘Our Petsitting Service Menu.’ (You can also click ‘apply to all fonts’ so we don’t have to retype it.) You can use the slider menu to resize the text anywhere from 8 to 112 points. You can also use the dropdown menu on the left to see how your copy looks in a sentence or paragraph or the alphabet and numerals in that font. Clicking the + button adds Bree Serif to a tray at the bottom, where you can collect all the fonts you want to use. When you’re ready to install them, click the black tray bar and you’ll see HTML and CSS code to embed the font in your site. (More on this below.) You can download as many fonts as you like, but Google recommends that you don’t download everything “just in case,” because of the time and space it would take. How Can You Use Google Fonts On Your Site? If you’re comfortable adding code to your site, you can use the Get Started with Google Fonts API guide to using stylesheets to specify the font families and styles you want on your site. You’ll also find out how to drastically reduce the font file size for headings and logos by optimizing font requests. For anyone who’s not comfortable editing their own site code, there are several plugins for WordPress that can install and manage Google Fonts for you. One of the most popular options, with more than 300,000 installations, is Easy Google Fonts . With this plugin, you can avoid editing the code for your site’s theme and you get a menu of all Google Fonts without having to manually select and download any of them. The plugin adds a typography menu in the WordPress Customize section of the dashboard, where you can select font families, styles, color, and other text elements for each type of header and text in your site theme. You can see a realtime preview of what each change you make will look like; visitors to your site will only see your changes if you save and publish them. To change text elements that aren’t part of your theme’s default controls, Easy Google Fonts allows you to create your own font controls that will show up in the Typography menu. After you choose the Google Fonts you want to use and make sure they look right in the preview, you’re ready to save and publish to update your site. Update Your Fonts, Upgrade Your Site By updating your site’s fonts, you’re not only giving it an updated look, you’re also building a better user experience. Faster-loading fonts that are designed for on-screen readability are the key to keeping visitors coming back, especially as more people do their browsing on their phones. Find the post on the HostGator Blog
-
Recent Posts
Recent Comments
Archives
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- March 2011
- November 2010
Categories
Meta