Add Social Bookmarking Buttons near Adsense Ads

The main advantages of this widget is that you can increase your AdSense impressions along with CTR - and of course, fill up the empty space besides Adsense units, making your blog look more attractive.

Adding the social bookmarking buttons at the top of your blogger post, will make things easier when your readers will want to share your posts via the networking sites. The widget includes buttons for, Twitter, Facebook, StumbleUpon, Technorati and Digg.

How to Add Social Icons Near AdSense Ads

1. Login to your Blogger Dashboard, then go to Template and hit the Edit HTML button (please make sure that you backup your template)

2. Click anywhere inside the code area and search using CTRL + F for the following tag:


3. Before this tag, paste the following CSS code:

.ads{margin-bottom:10px; border-top:solid 1px #DEDEDE; padding-top:10px; font-size:13px;}
.ads-right-min{border-left:solid 1px #DEDEDE; height:250px; padding-left:10px;}
.ads-right-min a:link,
.ads-right-min a:visited,
.bottom-share-links a:link,
.bottom-share-links a:visited{
.ads-right-min a:hover,
.bottom-share-links a:hover{color:#666;}
.mini-tech{background:url( no-repeat;}
.mini-facebook{background:url( no-repeat;}
.mini-tweet{background:url( no-repeat;}
.mini-del{background:url( no-repeat;}
.mini-stumble{background:url( no-repeat;}
.mini-digg{background:url( no-repeat;}

4. Now search for the following line:
<div class='post-body entry-content'>

If you can't find it, search for this one:
<div class='post-body entry-content' expr:id='&quot;post-body-&quot; +'>

5. Add the following code directly below it:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='ads'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<td width='354'>
&lt;script type=&#39;text/javascript&#39;&gt;&lt;!--
google_ad_client=&quot;pub-YOUR PUBLISHER ID&quot;;
&lt;script src=&#39;; type=&#39;text/javascript&#39;&gt;
<td><div class='ads-right-min'>
<a class='mini-del' expr:href='&quot;; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To'>Add This To</a>
<a class='mini-tweet' expr:href='&quot; &quot; + data:post.title + &quot; &quot; + data:post.url' target='_blank' title='Post this article on Twitter'>Tweet/ReTweet This</a>
<a class='mini-facebook' expr:href='&quot;; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Share On Facebook'>Share on Facebook</a>
<a class='mini-stumble' expr:href='&quot;; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumble This'>StumbleUpon This</a>
<a class='mini-tech' expr:href='&quot;; + data:post.url' target='_blank' title='Add To Technorati'>Add to Technorati</a>
<a class='mini-digg' expr:href='&quot;;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg This'>Digg This</a>

Note: Replace YOUR PUBLISHER ID with your AdSense account ID. You'll find it by going to the Home tab on your "Account settings" page. It should look something like this:

pub-5623269265862168 (copy only the numbers and then paste them)

6. Click the 'Save template' button and now you should be able to see the social bookmarking buttons near AdSense ads by visiting one of your posts.

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.

Disqus Comments