Home » , » Style Post and Sidebar Titles With Google fonts In Blogger

Style Post and Sidebar Titles With Google fonts In Blogger

  This line will look similar to the one below,

<link  href=http://fonts.googleapis.com/css?family=Aclonica:regular 


rel="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:regular 


rel="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:regular 


rel="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?




  1. Go To Blogger > Design > Edit HTML


  2. Backup your template


  3. 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



google-fonts



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!

Source: http://www.mybloggertricks.com/2011/05/style-post-and-sidebar-titles-with.html

0 comments :

Post a Comment

 
Play : Agame | Y8 Games | Y3 Games
Copyright © 2011. Blogger Tips And Tricks 2012 - All Rights Reserved

Proudly powered by Blogger