You want to add google fonts to your blog, right? If yes, then you are reading the right post. As you might have known, fonts can be used to change the total look of a blog or website and can also make your blog more beautiful. Blogger does not provide much fonts to use so you have to add by yourself. In addition, you can only use the theme designer to customize your blog font and this can only be possible if you are using a blogger theme, that is, if you are using one of the themes provided by blogger. This means that you will not be able to customize the font of your blog if you are using a 3rd party theme. Some blogspot bloggers are using 3rd party themes for their blogs as the themes provided by blogger are few and as well not well customized. You will learn how to change and customize your blogger blog font using Google Web Fonts. Note that all the fonts are hosted by Google, that is on Google's server. So, let's get started.
1. Choose your font
  To do this, you have to go to Google Web Fonts home and add the font you want to use to your collection.
I am going to use Fredericka as example here. After adding the font to your font family collection, click on 'Use'.
2. Get the font code
  Now you have to add two sets of codes to your blogger blog’s HTML and CSS.
3. Embed the font family
To embed the font family, you need to copy the first box of code and paste it after < head > in your blog theme HTML section. Note that you must insert a slash "/" at the end of the code exactly after the type=’text/css’ before the ending
">" .
Integrate the fonts into your blog.
You need to copy the code in the second box and place it in your blog theme HTML section anywhere you want the your font to be. If you want to change the font of your post titles. Search your blog theme HTML section for the code that defines your post titles, it may look like this:
. post h3 {
font - family : 'Fredericka the Great' , cursive ;
. . .
}
  If you want to add it to the sidebar titles look for the code:
h2 {
font - family : 'Fredericka the Great' , cursive ;
. . .
}
Now replace the code with your new Google Web Font family. You can change the size, color and weight and you can add this code to the same section.
h2 {
font - family : 'Fredericka the Great' , cursive ;
font - size : 21px ;
color : #333737;
font - weight : normal ;
}
  You can customize your post title fonts, you can change < h1 > to
< h3 >. Navigate through your code, you will be able to tell which is which by the heading they are under. You can use 'Preview' button to check. If you discover that you have made mistake, then go and edit your code or click on 'Clear edits' and then try again.
    Example
  The HTML code will be with a span code to determine the font used:
Home
About Us
Contact Us
Privacy Policy
Blogging
Tips
Contact
  Congratulation as you have just learnt how to add Google Web Font to your blogger blog.
1. Choose your font
  To do this, you have to go to Google Web Fonts home and add the font you want to use to your collection.
I am going to use Fredericka as example here. After adding the font to your font family collection, click on 'Use'.
2. Get the font code
  Now you have to add two sets of codes to your blogger blog’s HTML and CSS.
3. Embed the font family
To embed the font family, you need to copy the first box of code and paste it after < head > in your blog theme HTML section. Note that you must insert a slash "/" at the end of the code exactly after the type=’text/css’ before the ending
">" .
Integrate the fonts into your blog.
You need to copy the code in the second box and place it in your blog theme HTML section anywhere you want the your font to be. If you want to change the font of your post titles. Search your blog theme HTML section for the code that defines your post titles, it may look like this:
. post h3 {
font - family : 'Fredericka the Great' , cursive ;
. . .
}
  If you want to add it to the sidebar titles look for the code:
h2 {
font - family : 'Fredericka the Great' , cursive ;
. . .
}
Now replace the code with your new Google Web Font family. You can change the size, color and weight and you can add this code to the same section.
h2 {
font - family : 'Fredericka the Great' , cursive ;
font - size : 21px ;
color : #333737;
font - weight : normal ;
}
  You can customize your post title fonts, you can change < h1 > to
< h3 >. Navigate through your code, you will be able to tell which is which by the heading they are under. You can use 'Preview' button to check. If you discover that you have made mistake, then go and edit your code or click on 'Clear edits' and then try again.
    Example
  The HTML code will be with a span code to determine the font used:
Home
About Us
Contact Us
Privacy Policy
Blogging
Tips
Contact
  Congratulation as you have just learnt how to add Google Web Font to your blogger blog.
No comments:
Post a Comment