Google Fonts API as I previously mentioned in Part -1 of the post "How To use Google fonts in Blogger?" is of immense importance when it comes to using any font style you wish for your web designs without having to bother whether or not the fonts are installed on a visitors computer or not. The fonts are stored on Google servers and you simply need to embed them in your templates to let the fonts appear on your blog. I demonstrated in great detail in Embedding Google fonts in Blogger Post about how can you use the Google Fonts Previewer tool and add the embeddable code and CSS code to your Blogger templates. Today we will learn how would you use these font in Blogger posts, titles, block quotes, sidebars, headers, footers etc. Kindly see a demo first:
To learn how to do it simple follow up:
Choosing a Font Style and Embedding the Font
- Go To Google Font Previewer
- Choose Your selected font style and then copy the first line of code as shown below,
This line will look similar to the one below,
<link href=http://fonts.googleapis.com/css?family=Aclonica:regularrel="stylesheet" type="text/css" >
You will have to add a back slash "/" at the end of the above link like this,
<link href=http://fonts.googleapis.com/css?family=Aclonica:regularrel="stylesheet" type="text/css" />
3. Go To Blogger > Design > Edit HTML
4. Backup your template
5. Search For </head> and just above it paste the code you copied from Font previewer like this,
<link href=http://fonts.googleapis.com/css?family=Aclonica:regularrel="stylesheet" type="text/css" /></head>
6. Save your template and follow the next part of the tutorial.
After you have embedded the font in your templates, you will have to apply the effects to selected areas of your blog like Header Title, Post title and Sidebar. To do that follow the steps below,
How To Style Post Titles in Blogger?
- Go To Blogger > Design > Edit HTML
- Backup your template
- Search For the following code in blue,
.Post h3 {
....
...
.... }
4. Inside the above code you will find this line or a similar one,
.Post h3 {
....
font-family: arial, verdana;
.... }
5. Simply replace it with the Second Line which you can get from the font previewer
Like this,
.Post h3 {
....
font-family: 'Aclonica', serif;
.... }
6. Hit Save and you are done!
7. Preview your blog to see your Post titles appearing beautifully!
How To Style Sidebar Titles in Blogger?
All steps are same as we discussed for post titles. Here instead of searching for .post h3, search for,
.Sidebar h2{
....
...
.... }
and replace the font-family with your Second Line of Code like this,
.Sidebar h2 {
....
font-family: 'Aclonica', serif;
.... }
Save your template to see the effect.
Ps: Since the CSS coding for each template may differ so feel free to ask me for any help if needed. Have Fun!
If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »
thank you very much .. I need this !!
ReplyDeleteGreat........ Thanks.........
ReplyDeletehttp://dark-hackerz.blogspot.com/
Oh Gosh.... ds is so very much helping... Long live Mohammad ..u have no idea u actully solved ma problem dude...
ReplyDeleteur blog ix real nyc thng to visit, its worth visitng ... i hope i l becum a great blogger soon.....
regardx,
Sasha Gray.....
Excellent. Thanks bro
ReplyDelete@Mari @shadab
ReplyDeleteMy Pleasure pals :>
@sasha
Thank you sasha for those precious words. :>
@ifound
You are welcomed buddy. :)
wow, tq
ReplyDeleteDear Friend Read more Hack not working my blog pls help me
ReplyDeletehttp://vinayakarkoyil.blogspot.com/
and i need your help
1) i want change to footer image, while i try to change the image does not appear center.
2) Post area(bottom) show two lines, How do remove that lines?
3) Side bar Heading Distance is more how to reduce the distance?
4) Side bar Move to another side
5) Vertical Menu Padding Height Change
pls see the image what i want
http://1.bp.blogspot.com/-4Ibk4HUF4_c/TeSqBLEKAhI/AAAAAAAAACo/T5Ju0CGh6YY/s1600/Help%2B1.jpg
http://3.bp.blogspot.com/-hSlBf8BVkaY/TeSqSW0T4XI/AAAAAAAAACw/mzRDwNZIINY/s1600/Help%2B2.jpg
Pls do the help awaiting for your reply
Sekar
@Sekar
ReplyDeleteI just viewed your template and the designed problems that you mentioned will require me to view your template. Please email your template at mohammad@mybloggertricks.com . Please spare me some time as there is a lot of load on me. :>
Thanks for your Reply Template sent your mail pls check
ReplyDeleteHey Bro, can we add external style sheets to blogger in the same way as we add for google fonts. That would be great...
ReplyDelete@sekar
ReplyDeleteI got your template and request you to kindly be patient. I will check that soon when ever I am free.
@Amit
Of course you can but only when the CSS file is too big but in our case its just few lines so better add them directly to the template
sorry for disturbing..
ReplyDeletei cant change my font even after i followed the tutorial u give..
how i can change my fonts..
one more thing, can u tell me how to add read more link to my post..
i have try all tutorial in the internet..but thats not helping at all.. read more link not even visible in my blog..so what can i do?
please help me..
hi.. it doesnt work, it says
ReplyDeleteYour template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
XML error message: The reference to entity "v1" must end with the ';' delimiter.
@tak
ReplyDeleteDid you read the part of the tutorial where sidebar and post title fonts are being changed? Did you find all the codes as mentioned in the tut?
@Molly
did you add a back slash in step#2 ?
@Tak
ReplyDeleteFor that read more link you can find several articles on this blog with buttons and icons. Please read this post ->
Read More Link
im still can't change my fonts..its end up like molly n can't be save at all n i cant even previewed it.. i comes out error n cant be save.. i read all the tutorial twice.. but still endup like molly..
ReplyDeleteYour template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
ReplyDeleteXML error message: Open quote is expected for attribute "{1}" associated with an element type "href".
Error 500
this error is comes out after i tried to previewed it...even after i follow the steps int his tutorial..
thanks for this tutorial..its work :) i'm very excited & i think i want to change the font every seconds!yeah! :)
ReplyDeletenot able to find .sidebar
ReplyDeleteplz help brother.
hey I cant find .post h3 and also sidebar
ReplyDeleteI did change the font to Salsa , but then after loading the font changes back to some other fonr , please help
ReplyDeleteI only want to change my sidebar and footer widget's font style i alredy changed my posts font PLEASE help to change widgets titles font
ReplyDeleteHey Bro,
ReplyDeleteI really follow your instructions but the problem is that I can't save my template. Something like Error parsing XML
Thanks and hope to hear from you
thanks for this tutorial mohammad..its work :D
ReplyDelete