November 28, 2011

Widgets

Customize Blogger's Official Popular Posts Widget


Popular posts widget

I rarely use a tool unless I know I can design it according to my preferences. Blogger Team introduced their official Popular Post widget which could display a snippet of your most viewed posts along with a thumbnail image based on your Analytics stats. But wait! the widget today is a step ahead of it. We will override the stylesheet for this widget completely with our custom fonts and colours. You can view this popular gadget right on our sidebar.

The biggest advantage of this widget is that we don't need to install any heavy Javascript because we are using a widget stored on Blogger's servers and we will just alter its look to make it blend perfectly with your blogspot blogs.

I hope you will find today's tutorial pretty interesting. So lets go playing!

 

Adding Popular Posts Widget To Blogger

  1. Go To Blogger > Design
  2. Click on add a gadget and select the "Popular Posts" gadget from the list provided by blogger
  3. Now make these settings

uncheck snippets and thumbnails

  • Set Most viewed to all time
  • Uncheck image Thumbnail and snippet. We only need to display popular links so we don't need that bulky image and unnecessary intro text.
  • You can display between 1 to 10 posts. So choose at least 7 posts.

       4.   Save your widget

       5.    Now go to Blogger > Design > Edit HTML

       6.   Backup your template

       7.   Search for this


]]></b:skin>

       8.    Just above it paste the following CSS code,


/*--- MBT Popular Posts --- */
.popular-posts ul{padding-left:0px;}
.popular-posts ul li {background: #FFF url(http://1.bp.blogspot.com/_7wsQzULWIwo/ SmodosCuJCI/AAAAAAAABh4/ZSXbVW9Qpa8/s400/261.gif) no-repeat scroll 5px 10px;
list-style-type: none;
margin:0 0 5px 0px;
padding:5px 5px 5px 20px !important;
border: 1px solid #dddddd;
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;
}

 

Make these changes to customize the default look:

  • To change the bullet image replace the image link in bolded black in the code above with your bullet URL.
  • To change the border color in active mode edit #dddddd
  • To change the border color on mouse hover edit  #6BB5FF

You can use our color Chart for changing the colors.

   9.    Finally save your widget and say bingo!

Visit your blogs to see it hanging just fine on your sidebar. Do let me know if you needed any further help in changing the font type or color. The widget will automatically apply to it default colors of your blog but in case you wish to change them to something different then feel free to let me know by posting your comments below.

Credits

This widget model is brought to you by MBT therefore if you liked this widget and wish to share it with your readers then kindly link back to this tutorial. Peace buddies. :)

You may also like: Popular Posts Widget With Rotating Slides




If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates!

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

54 comments:

Haider Afridi on Nov 29, 2011, 12:14:00 AM said... #

GREATTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
I was about to e-mail you to teach this as i saw it on ur blog few days back but i did not said because of your Exams .... Thanks a Lot ... When i first saw it i was in Love with this widget <3
:P

Aiman Khan on Nov 29, 2011, 12:27:00 AM said... #

@Mohammad
well,honestly i wont comment on the post because I do not know about it.But dude, its looking nice on your blog.A good addition:)

ndark on Nov 29, 2011, 2:07:00 PM said... #

I am using monop template and i cant add this as i want this widget after Labels and blog archive

Mohammad Mustafa Ahmedzai on Nov 29, 2011, 6:10:00 PM said... #

@Haider

My Pleasure buddy. So did you add it Haider? :)

@Aiman
Thanks Aiman. It actually displays the most viewed posts in hierarchical order. It is a programmed script that fetches most popular posts and displays them. Glad you liked it. :)

@ndark
Don't add it inside the Multi-Tab widget. Add it separately and you will see it working just perfectly. :)

kingsley on Nov 29, 2011, 6:12:00 PM said... #

thanks for this let me go and do it on my blog

Abu Shaleh on Nov 29, 2011, 9:38:00 PM said... #

Hey Mohammad Vai,
Can you make same style effects for bloggers Random and Recent Posts widgets ?

Aiman Khan on Nov 29, 2011, 9:55:00 PM said... #

@Mohammad
So mohammad,can you code this 'Topic' section with this widget?Like, here it would fetch the topics from the given list and arrange them in hierarchical order.Means , all topics you are displaying right now should be displayed but with an order. It would also help you to figure out what is readers' demand.

Haider Afridi on Nov 29, 2011, 10:35:00 PM said... #
This comment has been removed by the author.
Haider Afridi on Nov 29, 2011, 10:37:00 PM said... #

@Mustafa Bhai

ya i added it bhai :)
But it did not suite well with my template :(

Mutri on Nov 30, 2011, 12:42:00 AM said... #
This comment has been removed by the author.
Mutri on Nov 30, 2011, 12:48:00 AM said... #

Nice Information..
keep share guys...
:) :D

Mohammad Mustafa Ahmedzai on Nov 30, 2011, 1:37:00 AM said... #

@kingsley
Oh you must do it soon. :)

@Abu saleh
Sure we can customize them too. I just got free so I will look into their style sheets. Thanks buddy for the idea.

@Aiman
Well we already have many widgets for that like Archive. The Topics widget on this blog is actually called a cloud widget which shows all your blog categories.

@haider
Oh come on. Did you customize the colours? Do it and show me the demo.


@Mutri
My pleasure pal. :>

Haider Afridi on Nov 30, 2011, 1:43:00 PM said... #

@Mohammad Mustafa Ahmedzai
bhai colours is not the problem, size is the problem ....
My template is a 3 column template and the post body is in the middle so side bars do not have much space so it is not looking that much beautiful as i wanted :(
but i added it, u can see w w w.skfanclub. c o m

ndark on Nov 30, 2011, 5:19:00 PM said... #

mustafa thanx !!!

Umesh Tarsariya on Nov 30, 2011, 7:43:00 PM said... #

thanks a lot dude...

i m done it in my blog
sadhakparivar.blogspot.com

Tharaka Devinda on Nov 30, 2011, 9:23:00 PM said... #

Thank you mohomad ! you made my blog site much pretty :) Thank you for sharing this kind of wight with us ! Thanks again. ( its so simple ad pretty ^_^ )

Mohammad Mustafa Ahmedzai on Dec 1, 2011, 5:23:00 AM said... #

@haider
I get you now. Haider I Guess its time you pay focus on your site's design. A Magazine style template is the standard for better blogging success. Ad networks like BuysellAds except mostly sites with traffic (which you have) and blogs with wide and clean user interface. It would be difficult to make such a decision but the good decision always yield better results.


@ndark
YOu are welcomed pal. :>


@umesh
My pleasure bud. :>

@Tharaka
You liked it thats enough for me. Thank you too bro. :)

Haider Afridi on Dec 1, 2011, 1:14:00 PM said... #

i m little confused :/
u mean my template should be modified ?
if i have to modify only for buysellads than i do not want to because i have asked my 50K readers and they give me good feedback and i think the template is good user interface. i have made some changes. hope u see them and give ur opinion again :)
Thnx bhai for the reply .......
i have modified my template very hardly. i have not learnt any programming but i did with with many tricks and thnx to MBT and Google Chrome :) sometime i will write the post on google chrome tricks which can help in HTML.
my template was this :
h t tp://btemplates.c o m/2011/blogger-template-nitromac/demo/

which i made changes and converted into this
w w w . sk fa nc lub . c o m ( spam protection :)

Haider Afridi on Dec 1, 2011, 1:15:00 PM said... #

i m confused with ur this line :P
" It would be difficult to make such a decision but the good decision always yield better results "
i m little week in English for some reasons :)

Mohammad Mustafa Ahmedzai on Dec 4, 2011, 12:34:00 PM said... #

@Haider
If you really don't want BSA ads then sure you can get along with your current template. Your template indeed looks awesome. I observed that the images are not in their exact aspect ratio. When you set the image size only set the width, the browser will automatically set the height. If this did not work then youy photoshop.


That phrase meant for better monetizing your template for higher CTR. A wider design gives more space to ads and increases the chances of Click rate. Hope this clarifies all. :>

Lok Bahadur Thapa on Dec 10, 2011, 2:39:00 PM said... #

thank you very much...i visited and make changes in my blog..visit

Comment1 on Jan 6, 2012, 11:10:00 PM said... #

Is there a way to make this use thumbnails only? And can you increase the thumbnail size without it getting blurry?

Aditya Samitinjay on Jan 7, 2012, 12:00:00 PM said... #

Hi, this looks great on my blog LikeLiteLife. However can you tell me how to use it for the recent posts widget too? For the official blogger's feed widget? Or even the labels widget at least?

Thanks again!

Blogger Punisher on Feb 8, 2012, 7:04:00 PM said... #
This comment has been removed by the author.
Blogger Punisher on Feb 8, 2012, 7:25:00 PM said... #

http://www.bloggertricks.gr/2012/01/popular-posts-dimofileis-anartiseis.html

Hamy Cheeta on Feb 19, 2012, 4:20:00 PM said... #

AwesOme!

DamZak on Feb 20, 2012, 11:48:00 PM said... #

CSS not working for my blog =(

my blog: http://damzshare.blogspot.com

Nirmal Shah on Feb 24, 2012, 11:22:00 AM said... #

Loved this trick. Looking awesome on my blog. Thank you so much for sharing!

trickslove on Mar 10, 2012, 3:25:00 PM said... #

Wow.... Its make my blog looks awesome. Thanks for sharing

Products4Y on Mar 26, 2012, 12:39:00 AM said... #

Can you do it on Bloggers Dyaminc View,

If you know Ask you to reply/

Amy on Apr 5, 2012, 9:30:00 PM said... #

Hi,
thanks so much for this information. I tried to find the code in my html > but all I found was >b:skin><![CDATA]/*------ is that the right one? Also the only thing I want to change is the picture that is shown of my popular posts, the default chooses a random picture which tends to be the before picture and I want the after picture. Should I still copy and paste the whole section you have? I am fine with colors etc. that are already there. Thanks!

Nova Solis on May 13, 2012, 12:34:00 PM said... #

The upper line of the uppermost box is transparent or missing. Please help. Check novasolis.blogspot.com

Saimoom on May 19, 2012, 12:35:00 AM said... #

Really nice trick. Its good and useful. Thanks Mohammad for this.

Everyone are invited to my blog: Visit ShineMat.com

Samiullah ... on Jun 8, 2012, 10:28:00 AM said... #

Can you please guide me how do i customize my all widgets..as i have seen one blog regarding customization of blog widgets..in that blog post i have used a css code for popular posts when i added that code in my blogger account. those css rules have applied to my blog's popular posts..how do i know that for which widget i have applied the css rules..by simply adding .popular-post{,,,,,}, such kind of code affected my blog likewise i have applied the same to my recent posts widget but no change occured..Could you please give me better solution to understand..for better understanding of m issue you can visit my blog http://www.phphunger.com/

FAiZaN - FAiZi on Jun 26, 2012, 3:01:00 PM said... #

Great, Brother..<3<3

Admin on Jun 29, 2012, 6:24:00 PM said... #

Sorry dude but its not working for me

admin on Jul 25, 2012, 6:42:00 PM said... #

Hello i have a blog named www.hackitparadise.in where i have placed popular post widget see that it is also intresting given by www.mybloggertricks.com

Satish Palaniappan on Jul 29, 2012, 11:24:00 PM said... #
This comment has been removed by the author.
Satish Palaniappan on Jul 29, 2012, 11:26:00 PM said... #

That was a good tip !! thanks dude !!

everybody feel free to vist my blog at http://techplorium.blogspot.in/

clicktechonce on Sep 8, 2012, 9:02:00 AM said... #

sorry bro,its not working in my blog....i tried twice but it wont..
visit:http://clicktechonce.blogspot.com

Dinesh Johnson on Sep 25, 2012, 5:46:00 PM said... #

how to categorise our post?
pls gv me instrcts

http://techpicz.blogspot.com

Kamran Khan on Sep 30, 2012, 10:10:00 AM said... #

Very Nice! it showing but not schrolling. check http://TrixKing.blogspot.com

Criticus on Nov 20, 2012, 8:04:00 PM said... #

Thanks for the discussion. Do you know if there's a way to have the widget overlook certain posts so they won't be included in the most popular? For example: suppose I have 100 posts, 85 of which are on the topic of the blog, and the other 15 are housekeeping items. I want to prevent any of the 15 housekeeping items from appearing in the widget. Is there a way to screen them out of the calculation (without deleting them from the blog)?

Unknown!!! on Jan 16, 2013, 5:16:00 PM said... #

I want to know how can I put up my favorite blog posts, Which I think everyone should read in a thumbnail or anyother form just like the popular posts widget.

jobbershub on Jan 19, 2013, 2:47:00 PM said... #

cooool trick muhommad keep writing good content...

Ishana Balaputra on Jan 26, 2013, 4:12:00 PM said... #

Why it does't work if I put the Popular post widget inside of multi-tab??
Please give me solution..
Thank's.

Kunal Gharate on Jan 28, 2013, 10:48:00 AM said... #

Hi Friend How To use this style recent post and other like random post recent comment plz post solution fast

Ghulam Mhuhddeen on Feb 5, 2013, 4:10:00 AM said... #

IObit Malware Fighter Pro 1.7.0.0 Thanks dude, nice Post .good admin Thnaxxx

kashif razzaq on Mar 26, 2013, 7:26:00 PM said... #

Well this kind of information is really worth searching for this. It’s good to have these kinds of articles around to keep the information flow steady. Helping those who really can make things right in the future, good work!
Download free games

Edward Presto on Apr 5, 2013, 4:11:00 AM said... #

Is there any relation about seo using popular post? Just like archive and labels.

Rosalinda Ursery on Apr 9, 2013, 2:21:00 AM said... #

Your website is really informative. The subject, which you highlighted previously mentioned, is extremely informative. Thanks for sharing this type of information with us. It is very useful for everyone to work out. Best of luck for the future blog posts.
Kaitlyn Paul

ruma banerjee on Apr 11, 2013, 3:16:00 PM said... #

great one but.. i want to make hover effect to popular post when mouse is put over it...
like when mouse is rolled over it. the colour should change of the background and not only the borders

gosha honey on Apr 12, 2013, 2:41:00 PM said... #

Thanks for giving me a space in your blog. I refer this to my close friends who are already seeking for the same .Thanks again guys…animated intro maker

Rishab Panchal on Apr 27, 2013, 6:18:00 PM said... #

popular post widget is the best way to gain some traffic for some late and popular posts of the blogs.such widget also helps to reduce the bounce rate of the blog because user stays on the blog for long time and hence it helps to increase traffic and visibility of the blog.thanks for sharing with us.ringtones

Click Here To add Comment

Confused? Feel free to ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. No cheesy/spam Comments tolerated Spam comments will be deleted immediately upon our review.

Regards,
Mohammad

Support Us

If our Tutorials have helped you a little, then kindly spread our voice using the badge below:-

or try a Beautiful Banner


Widgets

 
  • MBT Icons and buttons

    Icons and Buttons

    Our resources have been successfully downloaded over 10K times and found almost every where. Get yours!

  • choosing webhost for a blog

    Why HostGator?

    Learn Why we chose HostGator as our Web Host and find discount coupons to kick start your blog today!

  • SEO Settings for blogger

    ALL IN ONE SEO PACK 2012

    Learn every single SEO tip that will boost your blog's ranking and organic traffic. We got them all!

  • Blogger widgets and plugins

    Visit MBT's Blogger LAB

    Why not take a tour of all great Blogger widgets published so far? You Name it we have it!

  • become a six figure blogger!

    Become a SIX FIGURE BLOGGER

    Learn what it takes to become a successful entrepreneur and build a living online!

About The Author

Hi! I am Mohammad, a certified SEO Consultant, Pro Blogger, Computer Engineer and an addicted Web Developer. Read More..

Recipes

SEO Affiliate Marketing Social Media

Make Money Online Web hosting

Blogging Tips Web Designing

Plugins and Widgets Blogging Ethics

Recent Comments

Popular Series

Powered by:

My Blogger Tricks © 2013. All Rights Reserved | Contact |