How to Load Google Web Font Asynchronously?

Learn trick to load Google web Font Asynchronously And overcome from render Blocking CSS.

Comments: 7
Google Font

Text is the main part of any website. Because we express our thought, opinions, ideas almost everything in written form by using text. And for writing text we use different Fonts.  Every blogging platform has its own font library which serves to their website while loads. Similarly Google Blogger has also a set of default font which loads each time with a BlogSpot site. But we should know what the defaults Font of Google Blogger are?
  • Arial
  • Courier
  • Georgia
  • Impact
  • Times New Roman
  • Trebuchet
  • Verdana
If you are using any font from above then this tutorial or trick is not necessary for you.  Because my main aim is to improve the web fonts loading time in Blogger template.

Google has a rich Font library and you can use any Font which is hosted on their site. For using Google’s web font please visit the below URL.

Why we should use Asynchronous Font?

You would see many fonts in Google Font library. But if you want to use any font then it will create a Font CSS file for your web site. Suppose you want to use Oswald or Roboto or Montserrat then you must add a Font URL from Google font library. And this Font URL affects the Blog loading speed. Because Font file contain small property which needs small data to load. For this reason our site become little slower.

When a Font URL from Google Font library loads on a site then that Font file serve as synchronous script. For this reason this affects loading speed. So in this tutorial I will show you how to load Google Fonts or any other Fonts Asynchronously.

google page speed inside

In addition, Font file is a render blocking CSS which always loads above the fold of a template site. So we must use Asynchronous Font for improving our website loading speed.

How to make Synchronous Font Asynchronous?

This is the main part of this tutorial. This is not possible to use Asynchronous Font directly because Google’s Font is still serving synchronous way and it is also treating as render blocking CSS. But we can turn it into Asynchronous form, to do this just follow the below steps.

Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard

Step 2 Click on -> Template -> Edit HTML->

Step 3 Now find the Font file like below
<link href='' rel='stylesheet' type='text/css'/>
Your Blogger template may contain different Font. For example purpose I have used Oswald Font. So search only then you will find your Font URL.

Step 4 After finding the Font please move it in a text editor like notepad.

Step 5 Now copy the script from below and Paste it above/before closing head </head> of your site.

// <! [CDATA [ 
function loadCSS (e, t, n) { "use strict"; var i = window.document.createElement ( "links"); var o = t || window.document.getElementsByTagName ( "script") [0]; i.rel = "stylesheet"; i.href = e; = "only x"; o.parentNode.insertBefore (i, o); setTimeout (function () { = n || "all"})} 
</ script>


  • Please replace the text PASTE YOUR FONT URL HERE with your Google Font file from text editor (Notepad).
Step 6 Finally click Save template button from the top of the screen.

In many Blogger template using multiple template and in this case you can use below script.

// <! [CDATA [ 
function loadCSS (e, t, n) { "use strict"; var i = window.document.createElement ( "links"); var o = t || window.document.getElementsByTagName ( "script") [0]; i.rel = "stylesheet"; i.href = e; = "only x"; o.parentNode.insertBefore (i, o); setTimeout (function () { = n || "all"})} 
</ script>


  • Please replace the text PASTE FONT1 URL HERE, PASTE FONT2 URL HERE and PASTE FONT3 URL HERE with your Google Font file from text editor (Notepad). 
  • If you are using 4 Font file then just add an extra line loadCSS ("PASTE FONT4 URL HERE"); in above script.
This is really simple. After adding the Asynchronous Font script first check your Site that Fonts are loading perfectly or not? If everything is loading smoothly then for checking render blocking CSS file please visit Google page speed inside to test your Blog and see the test result.
Now your Font file is not listed as render blocking CSS. Now your site will load faster than before and also it won’t block page rendering process while loads on browser.  I hope you would understand the process. And able to make your Blog smoother and faster than before.

Related Post

Speak Your Mind

IT Consult BD says: 2/09/2016

Brother, I've seen a new look of your site. Your post title is used as uppercase. If I want to add this fature then what will I do for adding this fature like you?

Mohammad Fazle Rabbi says: 2/09/2016

Please find the below line

.item,.static_page,.error_page,.error-custom h2

now add text-transform:uppercase; after second bracket. But your text size will increase. It will look odd. so decrease the text size also.

IT Consult BD says: 2/10/2016

vai, kaj hosce na, second bracket er age pore sob jaygatei diye dekheci. ekhon ki korbo?

Mohammad Fazle Rabbi says: 2/10/2016

First you need to understand the CSS scrip. otherwise you won't able to customize template.


add this above closing bskin.

MD MUKUR ALI says: 2/10/2016

Sir Blogger Lab Full Width V1.1 Responsive Template এ POPULAR Tab এর পাসে sidebar-commentsx1
এর অখান কমেন্ট শো করে না ...। কি করতে পারি ...।

Mohammad Fazle Rabbi says: 2/10/2016

Template er folder a "Documentation" name file ace ooitate details code deya ace.ooi code add korlei comment show korbe.

IT Consult BD says: 2/10/2016

vai, template ta check kore den kaj hosce na keno, apnar mail a send kore diyeci.

Facebook Group Community Code ConverterHide Code Converter Show EmoticonHide Emoticon

If you Got questions? Ask ’em below! While we’re here, you might like to leave a comment and let me know if you have any stories or questions.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form


Email *

Message *