Boxed Style Popular Post Widget with Image Rotate Effect

Boxed Style Popular Post Widget with Image Rotate Effect

Comments: 2
popular posts

Almost 99% Blogger Blog use Popular post widget, This is a great widget to show off the visitors which post exactly popular in their site. This is a Blogger default widget but by customizing we can give it different shape. Though there are many widget developer customize this widget in different way. But the main problem is about popular post image. Because If you want to resize the image size then it will become blur. So the solution is JavaScript with CSS coding. Now you can able to increase your popular post image in any size. I hope this new Boxed style popular will love your visitors. Actually this style is perfect for multimedia type blog. Also can be used those who are Blogging for template distribution. Anyway just follow the below steps for adding this widget

Step 1 Log in to your Blogger account and Go to your Blogger Dashboard

Step 2 Go to your Layout tab.

Step 3 Click on "Add a Gadget" then select "Popular Posts" Widget.


Step 4 In configuration window check image thumbnail and snippet option. And set the number of posts that you want to display.

widget configuration

Step 5 Now click on Save button.

Step 6 Now go to Click on -> Template -> Edit HTML

Step 7
 Now Find this code ]]></b:skin>  by pressing Ctrl+F (Windows) or CMD+F (Mac) 

Step 8 Paste the below code  Before/above ]]></b:skin> 

/*widget by */
.PopularPosts .quickedit > img {
height: 19px !important;
width: 22px !important;
.PopularPosts li .item-thumbnail {
margin-bottom: 10px;
.PopularPosts li .item-thumbnail img {
margin-bottom: 10px;
.PopularPosts .item-title {
font-family: 'Archivo Narrow', Sans-Serif;
text-shadow:0 1px 0 #fff
.PopularPosts li .item-title a {
color: #333;
.PopularPosts li .item-title a:hover {
color: #555;
.PopularPosts li .item-snippet {
font-size: 13px;
line-height: 1.5em;
font-family:'arial', Sans-Serif;
color: #7e7e7e;
.PopularPosts .widget-content {
.popular-posts li {
padding:10px 0px 10px 0px!important;
border-bottom:1px solid #E9E9E9;
.popular-posts li:first-child {
padding:0px 0px 10px 0px!important;
.popular-posts li:last-child {
padding:10px 0px 0px 0px!important;
border-bottom:0px solid #E9E9E9!important;
.PopularPosts li .item-thumbnail img {
-webkit-transition:all .4s ease-in-out;
-moz-transition:all .4s ease-in-out;
-o-transition:all .4s ease-in-out;
-ms-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
.PopularPosts li .item-thumbnail img:hover {
-webkit-transform:scale(1.1) rotate(-2deg);
-moz-transform:scale(1.1) rotate(-2deg);
-ms-transform:scale(1.1) rotate(-2deg);
transform:scale(1.1) rotate(-2deg);

Step 9 Now Find this code </body>  by pressing Ctrl+F (Windows) or CMD+F (Mac) 

Step 10 Paste the below code  Before/above </body>  

<script type='text/javascript'>//<![CDATA[function resizeThumb(c,d){for(var b=document.getElementById(c).getElementsByTagName("img"),a=0;a<b.length;a++)b[a].src=b[a].src.replace(/\/s72\-c/,"/s"+d+""),b[a].width=d,b[a].height=d}resizeThumb("PopularPosts1",300);var newSize=300;$(".popular-posts .item-thumbnail img").each(function(){var c=$(this).attr("width");$(this).attr("width",newSize);$(this).attr("height",newSize);$(this).attr("src",$(this).attr("src").replace("/s"+c+"-c/","/s"+newSize+"-c/"))});//]]></script>

Step 11 Finally click on Save template button.

popular post widget

Now check your template to see the boxed style popular post widget. Remember that without JavaScript the image will be look blur. So regarding this if you have any more query then feel free to write me. Thanks. 

Related Post

Speak Your Mind

মোঃখায়রুজ্জামান বাপ্পি says: 3/09/2015

Really Awesome Post

Mohammad Fazle Rabbi says: 3/09/2015

Welcome Bappi

Facebook Group Community Code ConverterHide Code Converter Show EmoticonHide Emoticon

If you Got questions? Ask ’em below! While we’re here, you might like to leave a comment and let me know if you have any stories or questions.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form


Email *

Message *