How to Float 2 Wide Skyscraper AdSense Ad banner on Left and Right Side?
Floating Ads is very effective for that website that wants to make their site Ads friendly. Even you will able to save your space from your website by using floating ads.
For example, you want to display the Wide Skyscraper Ads banner on the right sidebar then it will occupy 160px X 600px space, where you can add others widgets. But if you just float that Wide Skyscraper Ads banner then you would able to display that after the right sidebar. So you can utilize all space on your website.
If you are using a Blogger template with a right sidebar but you want to display ads on the left side then you must use floating or hovering ads on your site, because without a widget container you won’t able to add a Wide Skyscraper Ad banner.
This will not only help us to save our website space but also helps to increase ads revenue rapidly. For generating more ad revenue you must place the ad above the fold. And this widget will help you to place your advertisement above the fold. And it will obviously increase your ad revenue. So let’s see how we can add this widget to our Blogger site.
How to add Floating Wide Skyscraper AdSense Ad banner Widget on the Left and Right Side?
To add the widget please follow the below steps:
Step 1: Log in to your Blogger account and Go to your Blogger Dashboard
Step 2: Go to your Layout tab.
Step 3: Click on "Add a Gadget" then select "HTML/JavaScript" Gadget.
Step 4: Now Copy the below code and paste it into the "HTML/JavaScript" Gadget.
<script type='text/javascript'>
$(document).ready(function() {
$('img#closed').click(function(){
$('#btm_banner').hide(90);
});
});
</script><br />
<script type="text/javascript">var a=navigator,b="userAgent",c="indexOf",f="&m=1",g="(^|&)m=",h="?",i="?m=1";function j(){var d=window.location.href,e=d.split(h);switch(e.length){case 1:return d+i;case 2:return 0<=e[1].search(g)?null:d+f;default:return null}}if(-1!=a[b][c]("Mobile")&&-1!=a[b][c]("WebKit")&&-1==a[b][c]("iPad")||-1!=a[b][c]("Opera Mini")||-1!=a[b][c]("IEMobile")){var k=j();k&&window.location.replace(k)};
</script><script type="text/javascript">
if (window.jstiming) window.jstiming.load.tick('headEnd');
</script><br />
<!--start: floating ads http://www.bloggerspice.com/--><br/>
<div id="leftads" style="width:160px; height:600px; text-align:left; position:fixed; z-index:1001; bottom:5%;left:1%;">
<div>
<a href="#" id="adclose" style="color:#333333;font-size:13px;font-weight:bold;text-shadow:black 0.1em 0.1em 0.1em;padding-top:3px;padding-right:10px"><a href="http://www.bloggerspice.com/2016/05/float-vertical-ad-banner-in-blogger-site.html" target="_blank" onclick="document.getElementById('leftads').style.display = 'none';">[x]</a>
</a>
</div>
<!--Start Left Ad -->
Add you Ad Code Here
<!--End of Left Ad -->
</div>
<div id="rightads" style="width:160px; height:600px; text-align:right; display:scroll;position:fixed; z-index:1001; bottom:5%;right:1%;">
<div>
<a href="#" id="adclose" style="color:#333333;font-size:13px;font-weight:bold;text-shadow:black 0.1em 0.1em 0.1em;padding-top:3px;padding-left:10px"><a href="http://www.bloggerspice.com/2016/05/float-vertical-ad-banner-in-blogger-site.html" target="_blank" onclick="document.getElementById('rightads').style.display = 'none';">[x]</a>
</a>
</div>
<!--Start Right Ad-->
Add you Ad Code Here
<!--End of Right Ad -->
</div>
To customize the widget please replace Add
Your Ad Code Here with your Ad’s code.
Now check your Blogger site and see 2 ad banner appeared on the left and right side of your Blogger template.
How to add a Personal Ad Banner on the Widget?
If you wish to add a personal banner image then you can use the below code. Just follow the steps from above and Please replace 'Add you Ad Code Here' with the below code.
<a title="Alt Text" href="Ad URL" target="_blank"><img alt="Alt Text" src="Banner Image URL" width="160px" height="600px"/></a><br/>
- Replace Alt Text with your advertisement name.
- Replace Ad URL with ads destination URL.
- Replace Banner Image URL with your ad banner image.
- Alter 160px and 600px for adjusting the height and width of the widget.
And simply add the ad and save it. You will see your ad banner is displaying. I hope this widget will help to solve your ad placement solution. If you need any help then feel free to leave a comment below.
39 comments
http://www.bloggerspice.com/2016/01/how-to-Protect-your-Website-by-Disabling-page-source-view.html
http://www.bloggerspice.com/2013/07/2-ways-stop-thieves-copying-your-blog.html
just showing the address of that image not an image
I am having a problem with this code on lower resolutions (bellow 1366x768) it is not fixed on site edges but cover the site spaces (not responsive). I need to fix it so that site area stay clean and banner to be shown on site edge only.
Can you pls help mw with this?
width:160px; height:600px;
And please add the below script under your responsive code area. This will hide the ads on Smart devices. :wr
#rightads{display:none}
#leftads{display:none}
Eu já adicionei botão de fechamento de anúncio. Você vai encontrar no canto superior esquerdo e canto superior direito do banner do anúncio.
Obrigado. :)
It remains refreshing the web page in sdmartphones because of that error.
Someone to help me?
Just add below code...
.leftads{display:none}
How to hide or stop in mobile version
Yes i have added this feature for promotion purpose. If other user wants to use it then they can find this code easily. However it doesn't divert from your site. It will open in other window.
Yes. You have to design your ad with Photoshop and upload it in any photo hosting site like Blogger, photobucket etc. Then use it.
i spent a lot time to find code like this
it is working fine and i made some adjustments on the code
check the ad here and tell me your opinion>> http://micloudfiles.com/nnwan089rmwp
but can it work on worpress too?
Definitely, it will work on WordPress too. But you have to place the code manually.
Thank you.