How To Add Rounded Corner To The Popular Post

modified+popular+post+widget
Now a days popular post is most useful widget as it shows most viewable posts of the blog in descending order of their priorities means, post which received maximum number of visitors will be on top position while the rest will be on decreasing order. The official look of the widget not gives up any impression to readers. So here you will learn to customize the official look of the widget as seen from above figure. We uses only CSS  to provide rounded corner around all the post. So lets see how this stuff will work?

The changes made by this tutorial can be seen by the above figure or in popular post widget of this blog. To get this changes in your popular post widget also


  1. Login to Blogger Dashboard.
  2. Go to Design /  Edit HTML.
  3. Click "Expand Widget Templates".
  4. Download the full template before making any changes in it .
  5. Search for following string in BT.
]]></b:skin>
  1. Paste the following code just above it.
Widget By Durai Sankar on http://moreforblogger.blogspot.com
.popular-posts ul li 
    {border:1px solid #1874CD;
  margin-bottom:5px;
 border-radius:10px;
   padding-left:5px;
 
    }

.popular-posts ul li:hover
   {
    text-decoration:none;
    border:1px solid #BFBFBF;
    }

Note:-Make Following Modification

  • To change the border color of normal position simply change #1874CD to any desired value you want.
  • To change the border color in hover state simply change #BFBFBF to any desired value ( The complete list of CSS color code are given here).


And if you liked this post, please consider sharing it. Thanks

Template Design, widgets

0 comments:

 

© 2011 MoreForBlogger - Designed by Mukund | ToS | Privacy Policy | Sitemap

About Us | Contact Us | Write For Us