Southern Listeners

Loading
Thanks to Greenlava for this cool gadget. Get yours here

Monday, December 27, 2010

Blogger New Year Banner

Not long ago, I did a tutorial on how you can add a Christmas banner to your blog to convey your Christmas wishes to your readers. Well, Christmas is technically over, so let's prepare for New Year now. This tutorial is similar to the Christmas one, but I figured no one will be looking for it anymore, so here's another one.


If you're using the old Blogger interface: Go to Dashboard - Design - Page Elements - Add a Gadget.

If you're using the new Blogger interface:
Go to Dashboard - Layout - Add a Gadget

Choose HTML/Javascript gadget - Paste the following code - Apply to Blog:
<div id="sspeakerbannernewyear">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMjtxGT0YbhdEJijz9mc1Ie3r2O348zjvk_9B8d5VmHhueFYui_AIs-zGug7Tl46shrvK-NHrglht3C4SS81bYcU8ueDBt5FFp6nKee5lb5AJf4pmn_L-16I9a5M1thrCLZRKaGBFF5XCv/s1600/new.gif" />
</div><style>
#sspeakerbannernewyear{
position:fixed;
left:0px;
top:0px;
}
</style>

Customization:

Make Banner Non-sticky
 I've made mine 'sticky'. If you find it annoying, or if you think it will affect the readability of your blog, then just make it sit on top instead. It won't follow you when you scroll down. Use this code instead:
<div id="sspeakerbannernewyear">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMjtxGT0YbhdEJijz9mc1Ie3r2O348zjvk_9B8d5VmHhueFYui_AIs-zGug7Tl46shrvK-NHrglht3C4SS81bYcU8ueDBt5FFp6nKee5lb5AJf4pmn_L-16I9a5M1thrCLZRKaGBFF5XCv/s1600/new.gif" />
</div><style>
#sspeakerbannernewyear{
position:absolute;
left:0px;
top:0px;
}
</style>

Change Banner Image
Make sure you have an image first. If you're using an image created by someone else, get the creator's permission before adding it to your blog. Here's what you should change.
<div id="sspeakerbannernewyear">
<img src="PLACEIMAGEURLHERE" />
</div><style>
#sspeakerbannernewyear{
position:fixed;
left:0px;
top:0px;
}
</style>
Change the text 'PLACEIMAGEURLHERE' to your image's URL.

Few variations that I've made:
New Year Orb
Right Banner

Change Banner Position
This depends on your image's orientation. I've made my banner to sit at the top-left corner of my blog. If you want to place your image at the top-right corner, use the following code instead:
<div id="sspeakerbannernewyear">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_X3xVexXyAr1nka85dkoX4PwelU3-Ay5JLTCr0oi8O0g-RNM-KfYFrKZVoBmRdlv74_rlaTAqZShhYxo2e_7HoLhpvHsC8ZZRU_GwyCngcRk6TgzIvTHRIUYRth9O3_YZTXGcKAJNzOsa/s400/right.gif" />
</div><style>
#sspeakerbannernewyear{
position:fixed;
right:0px;
top:0px;
}
</style>


Happy New Year. May 2011 be the best year yet for you.

No comments:

Post a Comment

Please use the 'Ask a Question' page to shoot questions that are not related to the tutorial in the post above.