Blog moved to www.techboyarena.com



Techboyarena.com

Sep 8, 2010

Add Social Media Share Icons in Blogger

Posted by RD on Wednesday, September 08, 2010 0 comments


Add Social Media Share Icons in Blogger

This tutorial shows you how to add sleek social media share icons in your very blog post. Social Media Share icons are very useful this helps readers to easily share your blog post on social networking sites and results in bringing more traffic to your blog. So don't miss this just grab it for your blog.



Check out the DEMO image below : 


Follow the below Steps

Step 1. Login to your blogger Dashboard--> Design- -> Edit HTML  

Step 2. Scroll down to where you see below code:




  <data:post.body/>

Step 3. Now in the 3rd Step Replace the above line of code with the code below




  <b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='social'>
<b class='si'>Spread it!</b>
<div class='social_button dg'>
<a class='DiggThisButton DiggCompact'/><script src='http://widgets.digg.com/buttons.js' type='text/javascript'/>
</div>
<div class='social_button tm'>
<script type='text/javascript'>
tweetmeme_style = &quot;compact&quot;;
</script>
<script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'/>
</div>
<div class='social_button fb'>
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='button_count'/>
<script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/>
</div>
<div class='social_button su'>
<script src='http://www.stumbleupon.com/hostedbadge.php?s=1'/>
</div>
<div class='social_button em'>
<a expr:href='&quot;mailto:?subject=Sharing:&quot; + data:post.title + &quot;&amp;body=I wanted to share this with you. Thought you might enjoy it:%0A%0A&quot; + data:post.url' target='_blank' title='Email This'>Email This</a>
</div>
</div>
<div class='clear'/>
</b:if>
<data:post.body/>

Step 4. Press Ctrl+F to find ]]></b:skin>

Step 5. Paste the Below code just above the ]]></b:skin>




  .social { border: dashed #ddd; border-width:1px 0 1px 0; margin: 10px auto 10px; display:block; padding: 3px 0 1px 0px; overflow: hidden; }
.social .social_button {float: left; display: inline; overflow: hidden; height:22px; }.social .si { float:left;padding-top:3px;}
.social .social_button.dg { margin: 0px 0 0 30px ; padding-top: 2px;}
.social .social_button.tm { margin: 0px 0 0 32px; padding-top: 4px;}
.social .social_button.fb { margin: 0 0 0 15px; padding-top:3px;}
.social .social_button.su { margin: 0px 0 0 35px; padding-top: 2px;}
.social .social_button.em { margin: 0 0 0 35px; padding-top: 3px;}
.social .social_button.em a{background:#eee urlundefinedhttp://img180.imageshack.us/img180/1989/emailj.gif) 3px 50% no-repeat; padding:2px 3px 2px 22px; font-size:10px; border:#ddd 1px solid; text-decoration:none; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
.social .social_button.em a:hover {background:#ddd urlundefinedhttp://img180.imageshack.us/img180/1989/emailj.gif) 3px 50% no-repeat}
.social .social_button a img { border: 0; padding: 0; }
.social strong { font-size: 11px; float: left; margin:2px 0 0 0; color:#555;}
.clear{clear:both;}

Step 6. Now after you perform the above steps, Save your blogger Templates and see the sleek social media icons displayed n each of your blogger posts.

Confused..?? Fell free to ask using the comment form below...


Share

Source
To Get SMS Updates on the Move Click Here.

Also Join us on


0 Responses so far:

Leave a Reply

Please do not spam here

Related Posts with Thumbnails
Blog moved to blogs.techboyarena.com