Read Part-2 here -> Style Post Titles and Sidebar titles With Google fonts in Blogger
It is no wonder that web technology has developed tremendously over the
recent years. Fonts that were once stored in user’s computers are now
embedded in templates. Few years back you could use only those fonts in
your templates which were available on major operating systems and in
order to view those stylish fonts on your websites, the user should
already had fonts installed on their PCs. Today you can use any font you
like for your designing purposes and the reader doesn’t need having
those fonts installed on his PC. Thanks to Google Fonts API you can now embed any font you like in your templates out of the popular fonts available at Google Font Directory.
You can add as many embeddable fonts as you wont. You just need to end each code with a closing tag.
Now how would you use this font in Blogger posts, titles, block quotes, sidebars, headers, footers and how would you further customize the font, all this will be shared in Part –2 so keep in touch. I have shared below the embeddable codes of some of the best fonts available which will be required in Part –2. The list below will help you use the best fonts for yourself and would save your time too. So here we go,
1. Fontdiner Swanky
Google Font Previewer Tricks
For
making things as simple as possible I would first discuss in detail
some important things about this excellent Font Previewer tool provided
by Google itself. We will use this tool to produce our desired
embeddable code and CSS code. For this reason I have divided this
article in two parts. Part- 1 will let you know how to properly use Google Font Previewer and Part- 2 will involve the use of these fonts in different parts of your Blogger template so keep track of both parts.
This is how Google Font Previewer looks like,
As
you can see that there is a Tools menu at your left and the display at
right. You set the options to create your custom font. You can change
everything through this tool except the color. Once you have set your
preferred text you just need to copy the embedding code which appears below the display like this,
<link href="//fonts.googleapis.com/css?family=Lobster:regular"rel="stylesheet" type="text/css" >
This embedding code can be edited in many ways to
make the text appear bold, regular or italic but when you have CSS then
why bother disturbing the HTML? :)
and just below this code appears the CSS code which looks like this,
<style> body { font-family: 'Lobster', serif; font-size: 36px; font-style: normal; font-weight: 400; text-shadow: none; text-decoration: none; text-transform: none; letter-spacing: 0em; word-spacing: 0em; line-height: 1.2; } </style>
The blue part is what that will be used in Part- 2
of this tutorial. This CSS code is the most important part and even if
you don’t use the Google Font Previewer you can easily customize the
Custom Font using this CSS. Now how would you use these custom fonts in
blogger? So create your custom Font with your preferred look and feel
and keep the embeddable code and blue part for Part- 2.
How To Embed Google custom Fonts in Blogger?
The method is simple. Do this,- Go To Blogger > Design > Edit HTML
- Backup your Blogger Templates
- Search for </head>
- Just above it paste the embeddable code that you copied from Font Previewer with one adjustment. By default the embeddable code ending tag is not closed and it looks like this,
You must add a back slash at the end like this,<link href="//fonts.googleapis.com/css?family=Lobster:regular"rel="stylesheet" type="text/css" >
<link href="//fonts.googleapis.com/css?family=Lobster:regular"rel="stylesheet" type="text/css" />
You can add as many embeddable fonts as you wont. You just need to end each code with a closing tag.
Now how would you use this font in Blogger posts, titles, block quotes, sidebars, headers, footers and how would you further customize the font, all this will be shared in Part –2 so keep in touch. I have shared below the embeddable codes of some of the best fonts available which will be required in Part –2. The list below will help you use the best fonts for yourself and would save your time too. So here we go,
1. Fontdiner Swanky