Social media sharing buttons like Facebook like, Google +, Twitter play a vital role in building and growing the visitors stream to your Blog. Previously i showed you how to add the Simple Social Media Sharing Widgets below title, I've updated that widget and made it look very stylish and catchy, you would simply love it. Let's add this widget to your Blogs
Live Demo
How to Add the New Stylish Sharing Widget
- Go to Blogger >> Design >> Edit HTML.
- Back up your Template.
- Expand Widget Templates.
- Search for <data:post.body/>
- Place the following code just above it.
<!--GOOGLE+1-TWEET-FACEBOOK-STUMBLE-STARTS--> <b:if cond='data:blog.pageType == "item"'> <div style='padding:5px;'> <table border='0'> <tbody><tr> <td> <div style='background:#CAE1CA; border:1px solid #ddd; height: 1.8em; width: 6.5em; -moz-border-radius-bottomright: 25px 50px; border-bottom-right-radius: 25px 50px; box-shadow: 3px 3px 3px #CCCCCC; padding:4px; margin-right:25px;'> <a class='twitter-share-button' data-count='horizontal' data-via='mybloggertips' href='http://twitter.com/share'>Tweet</a><script src='http://platform.twitter.com/widgets.js' type='text/javascript'/> </div> </td> <td> <div style='background:#CAE1CA; border:1px solid #ddd; height: 1.8em; width: 6.5em; -moz-border-radius-bottomright: 25px 50px; border-bottom-right-radius: 25px 50px; box-shadow: 3px 3px 3px #CCCCCC; padding:4px; margin-right:25px;'> <iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=button_count&show_faces=false&width=100& action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; margin-left:0px; width:100px; height:20px;'/> </div> </td> <td><div style='background:#CAE1CA; border:1px solid #ddd; height: 1.8em; width: 6.5em; -moz-border-radius-bottomright: 25px 50px; border-bottom-right-radius: 25px 50px;; box-shadow: 3px 3px 3px #CCCCCC; padding:4px; margin-right:25px;'> <script expr:src='"http://www.stumbleupon.com/hostedbadge.php?s=1&r=" + data:post.url'/> </div> </td> <td> <div style='background:#CAE1CA; border:1px solid #ddd; height: 1.8em; width: 6.5em; -moz-border-radius-bottomright: 25px 50px; border-bottom-right-radius: 25px 50px; box-shadow: 3px 3px 3px #CCCCCC; padding:4px; margin-right:25px;'> <g:plusone expr:href='data:post.url' size='medium'/> </div> </td> </tr> </tbody></table></div> </b:if> <!--GOOGLE+1-TWEET-FACEBOOK-STUMBLE-STOPS-->
5. Note If you have already Added Google + button then skip this step. If not then Search for ]]></b:skin> and below it add the following code:
<script src='http://apis.google.com/js/plusone.js' type='text/javascript'> {lang: 'en-US'} </script>
Customization
You can Customize the Background color, simply change #CAE1CA to whatever code you would like.That's all , You are done. :)
+ comments + 1 comments
Hi Bro!
You posted my articles without my permission, its okay but you haven't given me any credit. You just copied and pasted my posts on your blog.
You better give me credits for it and place a backlink to my blog or I report your blog straight-away to DMCA. I'm giving you a chance, act soon.
Post a Comment