Saturday, 20 April 2013

How to Use - Cutomized fonts on Blogger?

Posted by Arun Kumar Choppara On 09:07 | No comments
We can have our customized fonts on blogger to make the blog content look better and how we want the content to be displayed. The customized fonts would help us to select suitable font (i.e. not from the routine fonts).

1. Go to : Google web fonts http://www.google.com/fonts

2. Click Word - to display the fonts in words.




Then click "Use" as highlighted. This will navigate to a different page showing two code snippets as shown below.




First code snippet
<link href='http://fonts.googleapis.com/css?family=Chela+One' rel='stylesheet' type='text/css'> 

Second code snippet
font-family: 'Chela One', cursive;

3. Go to : Dashboard -> Template -> Edit HTML.

Add the first code snippet to blog HTML code immediately after <head>

<link href='http://fonts.googleapis.com/css?family=Chela+One' rel='stylesheet' type='text/css'>



4. Go to: Dashboard -> Layout -> Template Designer -> Advanced -> Add CSS
Add the below code snippet to CSS code area as shown below.

h1 { 
font-family: ‘Chela One’, cursive; font-weight: 400; }
5. Save blog Template and View blog to see the changes.

Now the blogger should have the font changed to all the data under "h1" tag.

Example:

Before adding customized font to blogger.



After adding customized font code to blogger.



All the content with header "h1" will get updated to new font.

NOTE: We can also use the same process to even change the blog content by extending the new customized font to other font classes h2, h3, h4 and so on by adding similar CSS code as shown below.