Sunday, October 14, 2012

Customize Labels Cloud in Blogger

Back in the year 2008 when Blogger.com was moving through several update phases, third party developers would often take the golden opportunity of creating widgets for BlogSpot blogs but as soon as Google rolled out massive changes to their online services, several official widgets popped out which load fast and perform well because the scripts are served by Blogger servers. Page List and label cloud/list enabled designers to create dynamic menus. Since the stylesheet was made accessible. therefore we all got a chance to play with these widgets and transform them completely in look and appearance. I must ensure you that the styles are perfectly compatible in all major browsers including IE8+.

DEMO: Look at the label CATEGORIES on the sidebar of this blog
This is how labels look in cloud display:
This is how it will look after you apply the new style.
  
The code below can be customized in several ways to create exciting label designs. You can also add background images to them.

Follow these easy steps:
  1. Go to Blogger > Settings> Layouts
  2. Click add a gadget and choose Labels
  3. Inside the settings make sure to choose the cloud display. You may set other options as per your requirement. See the screenshot below as example
Please choose to display at most 25 labels. Too much labels on homepage look awkward. Showcase your best categories only.
       4.    Now save the widget and go to settings > Template
       5.     Backup your template
       6.     Click Edit html > Proceed  and search for this



7.   Just above it paste the following CSS code:

8.  Save your template

9.    All done!

Visit your blogs and see the labels completely transformed to small neatly crafted rectangular boxes. If in case you want the label boxes to be of random sizes depending on the post-count then simply delete font-size:10px; from the above code.

0 comments:

Post a Comment

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 Instant HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
4.Click Subscribe by Email to receive Replies