Add Popular Post Widget With Spinning Hover Effect In Blogger

Popular Post widget helps to identify most popular post in your blog.So, Blogger already added the that features for every blog.We can customize is with great look. So, this is the tutorial for it. Actually it was a color effect. But this tutorial helps you to customize your popular post with Spinning hover style.It giving great look to your blog. Its not too hard to add it to your blog.




Popular Post Widget With Hover Effect Demo



Live Demo


How To Add Popular Post Widget With Hover Effect Widget To Blogger

  • Go to Blogger Dashboard 
  • Click on DropDown Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML --> Proceed --> Expand Widget Templates
  • Press Ctrl + F and search the code shown below

]]></b:skin>

  • Now Paste the Code shown below just above/before it


#PopularPosts1{max-width:300px}
#PopularPosts1 dd{float:left;border-bottom:none;margin:8px 8px 0 8px;background:none;display:block;padding:0}
#PopularPosts1 img{-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;transition:all 0.5s ease;padding:4px;background: #eee;background: -webkit-gradient(linear, left top, left bottom, from(#eee), color-stop(0.5, #ddd), color-stop(0.5, #c0c0c0), to(#aaa));background: -moz-linear-gradient(top, #eee, #ddd 50%, #c0c0c0 50%, #aaa);-webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px;-webkit-box-shadow: 0 0 3px rgba(0,0,0,.7);-moz-box-shadow: 0 0 3px rgba(0,0,0,.7);box-shadow: 0 0 3px rgba(0,0,0,.7);}
#PopularPosts1 img:hover{-moz-transform: scale(1.2) rotate(-350deg);-webkit-transform: scale(1.2) rotate(-350deg);-o-transform: scale(1.2) rotate(-350deg);-ms-transform: scale(1.2) rotate(-350deg);transform: scale(1.2) rotate(-350deg);-webkit-box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);-moz-box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);box-shadow: 0 0 20px rgba(255,0,0,.4), inset 0 0 20px rgba(255,255,255,1);}
.mbt-moresubs {background: none repeat scroll 0 0 #EBEBEB;border-style: solid;border-width: 1px;border-color: #fff #ccc #ccc;padding: 3px 8px 3px 3px;text-align: right;font-size: 7px;letter-spacing: 1px;}.mbt-moresubs a {display: inline-block;font-weight: bold;color: #1E598E;text-decoration: none;text-shadow: 1px 1px 1px #fff;}

  • Now Find the code shown below using [ctrl+F]

<b:section class='sidebar' id='sidebar' preferred='yes'>

  • Now Paste the Code Shown Below just below/after it

<b:widget id='PopularPosts1' locked='false' title='Popular Posts' type='PopularPosts'>
<b:includable id='main'>
<b:if cond='data:title'><h2><data:title/></h2></b:if>
<div class='widget-content popular-posts'>
<ul>
<b:loop values='data:posts' var='post'>
<dd>
<b:if cond='data:showThumbnails == &quot;false&quot;'>
<b:if cond='data:showSnippets == &quot;false&quot;'>
<!-- (1) No snippet/thumbnail -->
<a expr:href='data:post.href'><data:post.title/></a>
<b:else/>
<!-- (2) Show only snippets -->
<div class='item-title'><a expr:href='data:post.href'><data:post.title/></a></div>
<div class='item-snippet'><data:post.snippet/></div>
</b:if>
<b:else/>
<b:if cond='data:showSnippets == &quot;false&quot;'>
<!-- (3) Show only thumbnails -->
<div class='item-thumbnail-only'>
<b:if cond='data:post.thumbnail'>
<div class='item-thumbnail'>
<a expr:href='data:post.href' target='_blank'>
<img alt='' border='0' expr:height='data:thumbnailSize' expr:src='data:post.thumbnail' expr:width='data:thumbnailSize'/>
</a>
</div>
</b:if>
<div class='item-title'><a expr:href='data:post.href'><data:post.title/></a></div>
</div>
<div style='clear: both;'/>
<b:else/>
<!-- (4) Show snippets and thumbnails -->
<b:if cond='data:post.thumbnail'>
<a expr:href='data:post.href' expr:title='data:post.title' rel='bookmark'><img expr:alt='data:post.title' expr:src='data:post.thumbnail' height='60px' width='60px'/></a>
<b:else/>
<a expr:href='data:post.href' expr:title='data:post.title' rel='bookmark'><img alt='no image' height='60px' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn_yWQ9XTfrK7m_eTfF6DJp7eY-F9i6e23YDQSQPuZwrhDzTVLM8nourSPFx30h-BWm6XwxDcqLtp0pn83NM0nCPepc9_dbELm7Z15WCkW6a5EjUvNiMcPSmkO2PUwZ4Eo_5mqLyNWiUs/s1600/defaultimage.jpg' width='60px'/></a>
</b:if>
</b:if>
</b:if>
</dd>
</b:loop>
</ul>
<div class='clear'/>
<b:include name='quickedit'/>
</div><div class='mbt-moresubs'>
        <a href='http://www.mybloggertools.org/' rel='nofollow'>Get this</a>
    </div>
</b:includable>
</b:widget>

  • Now save your template

Like it? Share it.

11 comments

18 April 2012 at 04:16

admin plz tell me how can i highlight text like in your post in which written ''POPULAR POST WIDGET WITH HOVER EFFECT DEMO''.Plz mail me at sunilrajput760@gmail.com

Anonymous
18 April 2012 at 10:59

DEAR SONU I AM NOT ABLE TO FIND OUT IN MY HTML CODE SO PLEASE HELP ME OUT

Anonymous
20 April 2012 at 05:21

i sended my html backup

26 April 2012 at 01:57

I already did what you say, but the pictures didn't want to show.

26 April 2012 at 02:10 Author

@AbdiThis widget Does not support all blogger template

21 June 2012 at 21:16 Author

Hi...

It is very nice widget. I want it on my blog.
But I cant show images thumbnail in my blog...
My blog is http://gsm-tricksbook.blogspot.in. Please check.

Please help me as soon as possible.

22 June 2012 at 00:53 Author

@anil parmar This widget Does not support all blogger template

23 June 2012 at 09:04 Author

I U Tell How create contact form

6 August 2012 at 04:59

I tried the widget and it works perfectly, I would ask for poe but you can modify:

1. What should I do to appear more than 4 issues?

2. What should I do to set it up to see the week or month or as constantly present in the original widget bloger

thanks

4 November 2012 at 03:39

Hello, thanks for tutorial but I have a blog and codes do not work. Only in that website because in my others blogs codes works perfectly.

My website is http://blog-animextremo.blogspot.com.es/
please help me, thanks you

4 November 2012 at 06:25 Author

@Abel Nightroad This widget Does not support all blogger template

Click to Add a New Comment

  • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
  • Do NOT add links to the body of your comment as they will not be published.
  • Only the comments posted in ENGLISH will be approved.
  • If you have a problem check first the comments , maybe you will find the solution there.