Google Fonts provides free fonts to UI designers & UX developers which they can use on Websites/Apps/Products. Google Fonts offers a vast collection of free, high-quality fonts that you can easily integrate into your site. Whether you want to make your text stand out or ensure it aligns with your brand’s identity, this step-by-step tutorial will help you add and customize Google Fonts on your WordPress site.

How to Install Google Fonts on Website in Two Different Steps

There are two ways to use Google Fonts on your website

1. Google fonts CDN
2. Download and use Google fonts

I recommend you use downloaded fonts on the website to give your serverless pain of third-party requests. The major reason to use downloaded fonts is everyone is using Third-party Analytics code which slows down your Website. We can’t remove that because we want to track our website if you are using Google Fonts CDN it will slow down your website because of third-party requests from your server. I will show you both the ways to implement Google fonts on your website.

  1. Google Fonts CDN
    First Visit Google Fonts then search or select the fonts you want to use for your project
Image Courtesy – Google fonts

after that click on Select, this style right-side popup will appear to embed a font copy this code, and add it before closing the head tag and adding CSS to the style file Google font will start working on your project.

Image Courtesy – Google Font

2. Download and use Google fonts

To download Google fonts click on this button right-hand side download family a zip file will get downloaded in all fonts with the extension ttf(TrueType Font) now ttf will not work for the website you have to convert it to web fonts type. First Select the ttf font which you want to convert.

Image Courtesy – Google fonts

then open this tool on your browser link is here http://www.font2web.com/

Image Courtesy – Font2web

Upload the ttf file here this tool will convert the font into web fonts they provide a demo HTML including a CSS file also how to implement the font.

These two ways will help you to add Google Fonts to your website if you find this post useful please share it with other developers 🙂

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *