23 May, 2010

Use Google Font API for decorating your Post Title and sidebar title

Google announced their new Font API yesterday, including a font directory and preview tool to make open sourced fonts  available to everybody on the web.You can get more such blogger tricks directly to your mailbox os you can subscribe to my RSS feeds.
Some more Tutorials on This Blog-


Steps for Adding Google Font to change Blogger Post Title 
Step[1] Choose Your Font
Just go to the Google Font Directory and pick the desired font there are already prety nice font and will be expanded with the popularity and time.
Use preview tool to Test different Fonts with all available options.You can Capitalize,Lower Or upper your text.Use this preview tool to check how your text look with letter spacing,line spacing,and word spacing.And don't forget to check the shadow option.

Step[2] Get Code
Once you have selected Font from Google Font Directory click on Get Code .

just copy it and paste between your <head> and </head> tags. Like this:
 <head> 
<link href='http://fonts.googleapis.com/css?family=Cantarell' rel='stylesheet' type='text/css'> 
</head>    

Cantarell was selcted by me.

Note-This code will not be excepted by blogger and might give you an error to close the link tag, just add a little "/" in the end like this:
 <head> 
<link href='http://fonts.googleapis.com/css?family=Cantarell' rel='stylesheet' type='text/css'/
</head>  

Step[3] Decorate your Post Titles
From Your Dashboard. Go to Layout > Edit HTML And .
Use your Browser search to find .post h3 or .post h2 which ever present in your template.This post h3 or h2 defines your post Title properties.
Look for Font-family in your post h3 and add the font name you have selected from Google.

font-family: 'Cantarell',Tahoma,Verdana, Arial, Lucida Grande, sans-serif;

Click on Save Template

This Is It.

Do you like this tutorial? Do you like Google Font ? Use below comment form to send your suggestions or queries to me.

1 comment:


Spam/advertising comments will NEVER BE TOLERATED and will be deleted immediately!

I advise you to also "subscribe to the comment feed" and get email updates when I respond to your question.
Thanks for reading,
Admin