Wednesday, November 25, 2009

How to add a site logo/watermark to your Blogger

staticlogo2This is a site logo/watermark script that allows you to display a static image at any of the four corners of the browser, never going out of sight. This can be useful for branding purposes, or just to offer your readers an easy way to jump back to your site’s homepage with a click of a button. The logo can also be set to disappear after X seconds.

Click here to see the demo

1. Login into your Blogger dashboard > Layouts > Edit HTML

2. Insert the following section code below into your template right before the closing of head. </head>

<script type="text/javascript" src=""></script>

<script type="text/javascript" src="staticlogo.js">
* Site Logo script- © Dynamic Drive DHTML code library (
* This notice MUST stay intact for legal use

Note: The above code references the external .js file "staticlogo.js", which you need to download (right click, and select "Save As").


The section code is taken from the staticlogo.js file, you should configure the following if you want to customize your logo/watermark.

setting: {orientation:4, visibleduration:20000, fadeduration:[1000, 500]}, //orientation=1|2|3|4, duration=millisec, fadedurations=millisecs offsets: {x:10, y:10},//offset of logo relative to window corner logoHTML: '<a title="Blogspot Vision" href=><img style="border-right-width: 0px; width: 50px; border-top-width: 0px; border-bottom-width: 0px; height: 47px; border-left-width: 0px" src="logo.gif" /></a>', //HTML for logo, which is auto wrapped in DIV w/ ID=&quot;mysitelogo&quot;

Note: Most of them are fairly self explanatory. For setting.orientation, it sets the orientation of the logo relative to the window edge, and should an integer from 1 to 4 (1=top left corner, 2=top right corner, 3=bottom left corner, 4=bottom right corner). The option setting.visibleduration sets the duration (in milliseconds) before the logo disappears. For perpetual, enter 0 instead.

** Tutorial completed

Labels: , ,


Blogger aRkimz™ said...

This comment has been removed by the author.

July 16, 2010  
Blogger aRkimz™ said...

I cannot save the staticlogo.js file..

July 16, 2010  
Anonymous logo designs said...

Excellent post, thanks for collating the information. I have been searching google and yahoo for information related to this and it led me to your blog! :-)

February 25, 2011  
Blogger Phillip said...

@logo designs thanks, glad it could be of help for you. come back soon or follow us for future updates!

February 26, 2011  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home