Thursday, April 19, 2012

How To Create Sticky Bar On Blogger

Programming in blogger is always a very hard stuff. Finally you can now create a sticky bar on your blogger blog To write an announcement, update news or notice to readers. It's certainly a cool feature for blogger. May be not every visitor enjoys viewing that fixed bar at the top, so they deserve to be provided with an option to view or hide the bar. Now lets see how to set a fixed sticky bar on blogger

View Demo

Go to Blogger > design > Edit HTML

Find the following code using CRTL+F


Now place the following CSS code just before ]]></b:skin>
Click Here For The Code

Now find the following code using CRTL+F

Click Here For The Code

Finally find the following code


And paste the following code just below it

<div id='mbt_bar'> write your text taht will appear on the sticky bar
<span style='padding:0px; float:right'>
<img align='absmiddle' border='0' onClick='closeTopAds();return false;' src='' style='cursor:hand;cursor:pointer;'/></span></div>

Now save the template and you are done :)

Please share this post if you like. Comment or contact if any problem


Click Here To add Comment