How to add float banner between blog body [blogger]

The Floating banner between blog body is a very nice widget on all the top blogs and this is one of the ways to promote site or something that you want to show in your blog,


How to add the scrolling banner  bar:

Step 1 . Log in to your Blogger Dashboard, select your blog and go to Layout
Step 2. Click on Add A Gadget link







Step 3. From the pop-up window, scroll down and select HTML/Javascript




Step 4. Copy the code below and paste it inside the empty box
Step 5. Save the gadget

The code to copy-paste
<style type="text/css">
#khmer-wing {
position:fixed;
bottom:15%; 
margin-left:-800px;
float:left;
border-radius:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
background-color:#fff;
padding:0 0 2px 0;
z-index:10;
}
#khmer-wing .button-share {
float:left;
clear:both;
margin:5px 5px 0 2px;
}
</style>
<div id='khmer-wing' title="Get this from khmerwing.com">
<div class='button-share' id='like' style='margin-left:7px;'>

<a target="_blank" href="http://khmerwing.com">
<img alt="khmerwing" src="http://1.bp.blogspot.com/-tZD1ipuw-Po/UvUeI-VWsuI/AAAAAAAAB6w/pIoWKWU4-Y4/s1600/logo-float.png" />

</div>
<div style="clear: both;font-size: 9px;text-align:center;">Get <a style="color: #3399BB;" href="http://khmerwing.com/">widget</a></div></div>

Customization:
=> just change image url on Highlight link: http://1.bp.blogspot.com/-tZD1ipuw-Po/UvUeI-VWsuI/AAAAAAAAB6w/pIoWKWU4-Y4/s1600/logo-float.png
Vertical alignment - Change the 15% value of bottom. The code positions the social bar relative to the bottom of your browser window. To fix the distance even when window is resized, specify the value in px (pixels) instead of %.
Horizontal alignment - Change the -850px value from margin-left. Negative value pushes the button to the left of the main blog column, positive value pushes it to the right. Increase or decrease the value based on your needs.
Enjoy!!! :)

4 Responses to "How to add float banner between blog body [blogger]"

  1. Thank you! My blog will look so much nicer now. really thanks for this thing!!!

    ReplyDelete
  2. THANK YOU!!! I have been going crazy trying to figure this out. I didn't even realize I could edit the HTML on my blog. I can't believe I couldn't figure that out! :-) Thank you so much!

    ReplyDelete
  3. Why i can only add one Widget? It's will disappeared when tried to add more Widget. How to add more than one? THANK YOU BRO!!!!!

    ReplyDelete
    Replies
    1. http://www.khmerwing.com/2014/02/how-to-add-2-float-banner-between-blog.html

      Delete