20 Creating a label cloud for Blogger templates

As you can see in my sidebar, I have my labels arranged in a "cloud" formation rather than a simplistic list. I used a tutorial from Phydeaux's excellent blog to do this. Here's a link to the tutorial, which includes code you can simply copy and paste into your blog template: Phydeaux's tutorial for creating a Blogger Label Cloud The label cloud shows the relative number of posts linked to a label by displaying them in larger, brighter colours. So in the default template, labels with more posts will be big and blue, while labels with less posts will be small and black. After installing the label cloud, you may well want to fiddle around with the font sizes and colour schemes. To change the font sizes, look for the following sections just before the closing section of your template:
var maxFontSize = 20; var maxColor = [0,0,255]; var minFontSize = 10; var minColor = [0,0,0];
If you want to alter the size of labels with more posts, you should change the "var maxFontSize" to a number greater then 20 (eg: 24). In my opinion, a font size larger than about 30 should be avoided, especially if there are a lot of labels in your blog! On the same note, a minimum font size of less than 10 makes it very difficult to read. To change the colour of the fonts used, you will have to modify the RGB colours. Since Blogger templates use Hexadecimal values to construct your blog, you may want to use a tool such as Cedge's Colour Calculator to find the appropriate RGB colour codes. Simply copy the Hex values into the boxes and press enter: your RGB values will be displayed, along with a coloured section to check you've entered the values correctly. Play around with the values and use "Preview" to check that everything looks the way you want. When all is done, simply save your template and enjoy! Any new labels you add will automatically be included in your cloud. Technorati Tags:

20 Comments:

14 July 2007 01:56
fruitservice said...

mate. this has been very helpful.
cheers.

30 June 2008 03:32 David Arias said...

awesome! thanks for sharing.

-david

12 July 2008 21:58 Lorelei said...

Wow! This was much easier than I thought and saves so much space on my sidebar! Thanks!

4 August 2008 19:44 Dheeraj said...
This post has been removed by the author.
4 August 2008 19:44 Dheeraj said...
This post has been removed by the author.
4 August 2008 19:45 Dheeraj said...

i din get it!! can u xplain the third step more clearly in dat Phydeaux's tutorial for creating a Blogger Label Cloud link!!

My bog:http://compressedgamez.blogspot.com/

28 August 2008 17:58 paan said...

how to make a label like you have i your site now???for blogger.

28 August 2008 17:59 paan said...

how to make a label cloud like you have in your site now???

23 October 2008 19:06 Joy said...

It worked like a charm! Thank you!

21 November 2008 13:56 Andy said...

Thanks it work!

15 February 2009 16:57 Hungry Jenny said...

Thanks for this - is there a way for this to display only certain labels? For instance, I'd like to pull one of the labels out to include as a separate link on its own, rather than within the label cloud.

Hope this question makes sense..!

Cheers

Hungry Jenny

9 March 2009 17:13 Stock Chartist said...

Wish there was a label cloud maker for the classical blogger!

16 May 2009 14:17 34Something said...

@ Stock Chartist

I've searched extensively for a label cloud for classical blogger. There are solutions, only none as stylish as the ones for new blogger.

The most well known solution is this :http://phydeaux3.blogspot.com/2007/05/automatic-list-of-labels-for-classic.html

You can also use this; it makes a label cloud out of your rss feed:
http://www.makecloud.com/index.html

I use the one from makecloud on my FTP hosted blogs:
http://www.forexacademy101.com/blog/
http://www.linkkingg.com/blog/

There good, but not as cool as the one on my blogspot hosted blog (34something)

Anyway, hope it helps. :)

28 May 2009 01:31 techhackz-admin said...

Very useful.
Thanks!

-djoudjou
http://techhackz.blogspot.com/

20 July 2009 15:20 Willem said...

Wow. That really worked. AND I was able to change the color of the font after I searched for the RGB color chart. (Your link doesn't work and you don't have a label cloud on sidebar, by the way.) This was the third one of these I tried. This really made my day. Thanks!

7 August 2009 13:42 Ann said...

Great... Its really helpful.. See it how it works at my blog http://mamibizi.blogspot.com

17 August 2009 13:14 Hasan Akhtar said...

This was really helpful! Thanks.

30 August 2009 07:55 Best4Share.Com said...

thanks

http://www.best4share.com/

13 June 2010 16:23 soft said...

that is very useful
www.ixeer.com

Post a Comment

Browse through the Archives

All existing posts are still available to view while I'm working on the site, albeit seen in a much simpler interface. Feel free to browse through the archives to find tutorials, templates and articles to help you build a better blog:

Blog Archive

© Blogger Buster 2010 Home | About | Contact | Hire Me