May 25, 2014

Add stylish rounded images in popular posts gadget in Blogger

Popular posts are essential in a blog. The usual popular posts gadgets are not good and do not have an attractiveness. Here i am sharing a good way to create If you want to add rounded images in the post then you got it, pal. Before going on that let me tell you about what is wrong with the existing popular posts gadget. The popular posts gadget by blogger does show the top posts of the blog. But without style.



popular posts in blogger
rounded posts


The posts are added with square images. The snippet also not good. The style of the title is not good as it looks. SO for a pro bloggers, such gadgets are waste of space in the layout of blog. So if we add style to the popular post gadget, it will look way more than the existing gadget.


So use the following CSS code to get styleish popular posts with rounded images.

Just copy the below HTML code and add it above ]] skin.




   /*---------shipmethis Popular posts style 1-------*/

.PopularPosts .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);

}

Then save the template as usual and do not remove Reference tag. Now watch the magic...

Or you could use the following CSS

   /*---------shipmethis Popular posts style 2-------*/.popular-posts ul{padding-left:0px;}
.popular-posts ul li {background: #FFF url(http://4.bp.blogspot.com/-oOVUW06ghgo/UHwuqL9TltI/AAAAAAAAGKU/Nj4DQnvft8k/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);
}

NB: you must add popular posts gadget from HTML section of the layout..This is only a CSS customization..
If you like this post subscribe us....