Friday, October 19, 2012

Customize Popular Post Widget In Blogger


Customizing and Stylizing Blogger Popular Post Widget:

1. go to Blogger >> Template >> (Create a backup in case anything went wrong).
2. Select Edit HTML >> Proceed.
3. Now  Search for ]]></b:skin> (CTRL+F Shortcut to quick search)
and just above it paste the following CSS Coding.
(Download Code)

/*--- LWTHacker --- */
.popular-posts ul{padding-left:0px;}
.popular-posts ul li {background: #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNt38X_PBNHqI_tdmFuyyE0p7LJgssuFqI4k7Tdp5VEPgx31P18TAyG3gyieWGTgYqM4JF3OfqjNv_Egcl6v5ABunxmTOb7-zX0NecFHNIDfeA_Gfo7fOast87gh4ADUp2ST5-jf_SS3E/s1600/1.gif)  no-repeat scroll 5px 10px;
  list-style-type: none;
  margin:0 0 5px 0px;
  padding:5px 5px 5px 20px !important;
  border: 1px solid #ddd;
  border-radius:10px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
}
.popular-posts ul
  li:hover {
  border:1px solid #6BB5FF;
}
.popular-posts ul
  li a:hover {
  text-decoration:none;
}
.popular-posts .item-thumbnail img {
  webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

All Done: Finally, Press the Save Template button and you have successfully customized your  post widget. Now visit your site and enjoy the results.

No comments:

Post a Comment