Skip to main content

Social Sharing icons under all posts

The following article will help you get a social sharing widget under each blog post as I have in my blog.

It consists of four parts of template Editing :-
  1. Adding CSS.
  2. Adding XML.
First Backup your template.

Adding CSS
  • Goto Dashboard > Template > Customise > Advanced > Add CSS
  • Paste the following code in the appearing box,
    box-shadow:0px 0px 3px rgba(0,0,0,0.3);
    border-top:5px solid black;
    .share, .share:hover{
    padding:5px 10px;
    box-shadow:0px 0px 3px rgba(0,0,0,0.3);
    width:100%;padding-bottom:3px;border:3px solid transparent;;border-radius:2px;
     -webkit-transition-duration: 1s;
      -moz-transition-duration: 1s;
      -o-transition-duration: 1s;
      -ms-transition-duration: 1s;
      -goog-ms-transition-duration: 1s;
      transition-duration: 1s;
    border-bottom:3px solid black;
     -webkit-transition-duration: 1s;
      -moz-transition-duration: 1s;
      -o-transition-duration: 1s;
      -ms-transition-duration: 1s;
      -goog-ms-transition-duration: 1s;
      transition-duration: 1s;
Adding XML
  • Press Ctrl + F and Find <b:if cond='data:post.hasJumpLink'>
  • The code around it will look like,
    <b:if cond='data:post.hasJumpLink'>
    <div class='jump-link'>
    <a expr:href='data:post.url' expr:title='data:post.title'><data:post.jumpText/></a>
  • Right after that place the below code,
    <p class='sharebutton'><b>Share this post</b><br/><br/>

    <span class='post-icons'>
    <a expr:href='&quot;; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Facebook'><img alt='Add To Facebook' border='0' class='icon-action' height='36' src='' width='36'/></a>
    <a expr:href='&quot;;text=&quot; + data:post.url' target='_blank' title='Tweet this'><img border='0' class='icon-action' height='36' src='' width='36'/></a>
    <krish style='width:100%;font-weight:bold;font-style:italic;'>Share Link : <input class='link_share' expr:value='data:post.url' onfocus='' type='text'/></krish>

    <font size='2'>Click <a href=''>here</a> for <b>Social sharing icons V2</b>.</font>
After completing these, click on "Save Template" and view your blog. You should see the social sharing icons appearing on the template. 


Popular posts from this blog

How to connect any other profile in "About me" widget?

In this article I am going to tell "How to connect any other profile in "About me" widget along with blogger or Google+?"

Who Is Lookup

Again as a part of Custom Domain Troubleshooting, we do Who Is lookup which gives us a handful of information.

What is Who Is Lookup?

Who Is lookup gives exactly what the name means. "Who Is". In addition to Who Is, this will give few useful information like,
Registrar InformationRegistered date and expiry information and so on.

How to do Who Is Lookup?