How To Add Sleek And Custom AddThis Widget Below Blogger Post

T here’s 100% chance that you are already noted with AddThis, even if you are not a blogger. It is the mostly used social sharing platform. ...

How To Add Sleek And Custom AddThis Widget Below Blogger Post

There’s 100% chance that you are already noted with AddThis, even if you are not a blogger. It is the mostly used social sharing platform. A lot of sites are using this. AddThis is the world's largest content sharing platform. It gives end users a simple and easy way to share content across the social web, and provides publishers with increased web traffic and in-depth analytics. AddThis is the world's largest content sharing and social insights platform: It provides Easy-to-use tools help users to share your content and drive viral traffic, In-depth analytics provide insight into your audience and user activity, Powerful APIs let you create your own UI, access analytics, and more. But in default, AddThis button will show on all blogger pages (like home page, static pages, post pages etc.). And also there are only a few option to customize icons. Here, in this post, I am showing you how to add AddThis button with sleek, gray scale icons in only post pages of blogger. So join us after the break!

Note: To see a working demo, visit here and click on any post then scroll to the end of the post.

Getting Started

  1. Log in to your blogger account.
  2. Go to Design > Edit HTML from blogger dashboard. (Template > Edit Template if you are using Blogger in draft’s new dashboard.
  3. Backup Your Template By Clicking On “Download Full Template”

CSS Part

In “Edit HTML” search for the following character.

]]></b:skin>

Now Replace it with the following code

.addthis_toolbox {
padding : 15px 0 5px 0;
text-align : right;
}
.addthis_toolbox .custom_images a {
width : 26px;
height : 26px;
margin : 0 4px 0 4px;
padding : 0;
}
]]></b:skin>

Now save the template.

HTML Part

After finishing CSS part, mark on “Expand Widget Templates” option from the right top menu.

Then search for the following code

<div class='post-footer-line post-footer-line-1'>

Just below it, paste the following code.

<b:if cond='data:blog.pageType == &quot;item&quot;'>    
<div class='addthis_toolbox'>   
<div class='custom_images'>
<a class='addthis_button_twitter'><img alt='Twitter' height='26' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8wbqu48MEMFXWvjVTM18llXfZ3xJQiyQQQgBeI9Wq0AQjx-Xv_rVVjPRiSHbA6GQKSYWXTLk5ghBFWZLG0CNGqlFj2gqYHKNpUhEKZzpYAj41OnHiezNosPwDRet-2uvAEo0ibITVlc8/s1600/twitter.png' width='26'/></a>
<a class='addthis_button_delicious'><img alt='Delicious' height='26' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-BT7qwia8LayOEuZIemGlkg4svfa8RmHl5tN0X0-K8lSg49RKA_NRQLpRvcgQWaNt9KRMJyPHdJfLbt-TpNdfQSI-V8qSnoFiDtxXj_CL6ZffwYnGC2z-qFVmx8PJh36RblApBIW9hKmq/s1600/delicious.png' width='26'/></a>
<a class='addthis_button_facebook'><img alt='Facebook' height='26' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbyYuHqWokIlKE0o8hdCqGUy52LPVeYbt0mAzWRVlQ_CsDtAE33LizG4mzZEJAOsRGTTzOSXsQ7WRE8l5EoXf5q0AJR34j3khXqHryxBhC8bGcVclT0Jp2B86QY3mwURPLxnbiOeiRu2PB/s1600/facebook.png' width='26'/></a>
<a class='addthis_button_digg'><img alt='Digg' height='26' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwnYT6OTQnyr5iBv23H5JXqH6uVieg8s8us45GR0Y2ayPu7n_S1PKKzmm_Lm2r0K5fv1DLh6Qihy2tG56Ro6RBR2wN9uWzEn82d_m4ZObNs7rfU_1FsmpEo6gLSwi6f3cOqkZ9Y3wEyW4C/s1600/digg.png' width='26'/></a>
<a class='addthis_button_stumbleupon'><img alt='Stumbleupon' height='26' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNXTFbnXH82Y3doAanOY9LYi8pcujoKdCgpr1VG4Ci1X6VTVQDBAZhK5eDPqdtqg1GoLlaVQkqE2dFNx4yzujRw7C3Di8XpVUOODpw0VBb3qdr1JwgPmWrgLgjCvMtbj6I-6TBXcevKd8h/s1600/stumbleupon.png' width='26'/></a>
<a class='addthis_button_more'><img alt='More' height='26' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf65p84Tmr3Lu1IVWzSng4A2Dexfx-1RQXDQZ5tdqL-vu5xRZHPxbJZjfKUIsQVTlazMdIBym4D7JCuxQxS-3-NhH8qE-AYk9h5_4BZhiaMuAOQQMiVspbmKBXZqPHNoykSkHt5AHXPfSD/s1600/More.png' width='26'/></a>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
</div>
</b:if>

Now save the template.

You are done! It’s easy, isn’t it?

Customizing Position

Here I am placing the AddThis me at the post ends. You can customize it by placing the HTML part either below <div class='post-header-line-1'/> or <data:post.body/> or anywhere you want to.

1 comment :

  1. Please Add Google Plus Button To This

    ReplyDelete

Note: Only a member of this blog may post a comment.