Oct | 06 | 2006

Adding Google Gadgets to your blog

Posted by Professor as Blog Tutorial, Blogging Tools, Design, Templates, Tips

gadgets

The Bloggy Widgets blog has an interesting blog entry about Google Gadgets. Are you a fan of Google? It’s a really cool company. Aside from the really fantastic search engine, they also gave us ways to make blogging and earning from blogging quite easy with AdSense. The widgets they showcase are really nifty and cool. In any case you have that option to put them there. For a brief commentary on these Google Gadgets, just check out the blog entry there.

Anyhow, you might be wondering how in the world some of those Google Gadgets could fit in your blog’s sidebar. Don’t fret. It’s not that difficult. You might have to a bit of math in order to make adjustments on your layout. This is where some knowledge of CSS would definitely come in handy. Well, if you are still a bit confused about CSS, ask your friendly CSS geek or do a little bit of searching online ;)

If you know what are the particular divs that contain your sidebar and the main content of your blog (if you are using a two-column layout, that is), look for the width of these divs.

Take for example the theme based on Very Plain Text layout. You have this in the CSS:
div#container { float: left; }
div.narrowcolumn { margin: 0 -210px 0 0; }
div.narrowcolumn div#content { margin: 0 210px 0 0; }
div#sidebar { float: right; }
div#sidebar { text-align: center; }

The thing is that you have to make adjustments in the div called .narrowcolumn so you could make your wide widget fit in here. Maybe the widget is going to need roughly 230px in terms of width and yet you want to have space around it too, maybe change narrowcolumn’s width to 250.

div.narrowcolumn { margin: 0 -250px 0 0; }
div.narrowcolumn div#content { margin: 0 250px 0 0; }

It really depends on the layout that is why you have learn a bit of CSS as you blog along. You wouldn’t want your blog’s layout to break, right? Anyhow, after making the necessary changes in the layout, you could insert the code you got from the Google site.

Not difficult, eh? Maybe it’s time to check out a nice Google Gadget for you ;) What are you waiting for? Click to go there :D

[tags]widgets,blogs,layout[/tags]

Related Articles

Comments Off

Comments are closed.

  


Our Features
  • Design and Themes

    Is Your Blog W3C Compliant?

    Last night I checked my personal blog’s code hoping I can proudly display the W3C Validated Button. Since I use Blogger and do not really do anything to clean up the code (beyond adding Alt-tags to the images I embed) I wasn’t surprised at all to find that my blog contained lots of errors – [...]

    Read on
    More Design and Themes Features
  • Software and Widgets

    Wordpress Plug-ins

    If you blog using Wordpress and can’t do something that you want done like adding Sphere-related content at the end of your blog posts you might be surprised to find out that there are already plug-ins available that make it happen.
    To find good Wordpress plug-ins all you need to do is search for “wordpress [...]

    Read on
    More Software and Widgets Features
  • Reviews

    A Friend In Need

    I’m helping out my friends from the UA&P – IShareHappiness Blog Team.
    Whenever you feel pessimistic, angry, troubled, frustrated, and depressed – what have you – you need someone to talk to. Someone who could help you be more optimistic and help make you feel that there is hope. Sometimes it’s hard to talk to someone [...]

    Read on
    More Blog Reviews
  • Monetization

    Review: Logical Media

    Logical Media is one of the innovative services that pay for ad placement within blogs. Do you have a blog and are you seeking a way to make additional money from the blog? Are you seeking a way to offset other programs with the use of ads? Through the registration with Logical Media, the blogger [...]

    Read on
    More Monetization Features
  • Marketing and Search Optimization

    Search Rank Drop and False Alarms

    Happy Holidays!
    What are the chances of someone being concerned about their blog’s search ranking dropping on Christmas Eve? I have no idea but then again if I’m writing about it right now then there’s probably someone somewhere around the world doing SEO at this very minute.
    If you have experienced a sudden drop in ranking, [...]

    Read on
    More Marketing and SEO Features
  • Blog Resources

    Advertise Here
    Audival
    Colorteck
    WordPress Themes

SUBSCRIBE

CATEGORIES

Bloggy Awards

Blogger Jobs

CONTRIBUTORS

RESOURCES

BLOG METRICS