New Social Sharing Widget For Blogger with Font Awesome
Add an Awesome Social Sharing widget Powered by Font Awesome in your Blogger Template.
It goes without say that social sharing widget mostly
effective for spreading our content around the web. Mainly for sharing our content
in various social media site we use social sharing widget. After reading your content
if readers feel interest then they intent to share or bookmark the content on
their social media profile. However social sharing widget helps the sharer to
share the content easily. Eventually this makes your site share friendly. So I
am going to share another awesome social sharing widget for your Blogger site.
Actually this widget I was share last year by using image
for social media icons. But now I have modified the script and added Font
Awesome icons for faster load. I hope you would love this. Let’s skip to main tutorial. But before that please see the Animated Demo from below image.
Step 1 Log in to your Blogger account and Go to your Blogger
Dashboard
Step 2 Click on -> Template -> Edit HTML
Step 3 Now Find this code <head> by
pressing Ctrl+F (Windows) or CMD+F (Mac)
Step 4 Copy the script from below and paste the code below/after <head>
<link href='//netdna.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css' rel='stylesheet'/>
Font Awesome script is optional. if your template already have this file then please skip the Step 4. You don't need to add Font Awesome file twice.
Step 5 Now again Find this code]]></b:skin> by
pressing Ctrl+F (Windows) or CMD+F (Mac)
Step 6 Paste the below code Before/above]]></b:skin>
/* CSS Share Button by www.bloggerspice.com*/
.bsshare{overflow:hidden;text-align:center;margin-bottom:20px;margin-top:20px;padding:10px 0;}
.bsshare li{float:left;margin:0 1%;width:18%;padding:0;list-style:none;position:relative;box-shadow:0 0 0 -1px #e3e3e3;}
.bsshare li:hover{box-shadow:4px 4px 0 -1px #e3e3e3;}
.bsshare li a{padding:5px 0 6px 35px;color:#fff;display:block;border-radius:2px;}
.bsshare li a:hover{background:#555555;color:#fff;}
.bsshare li .twitter{background-color:#85c5f5;}
.bsshare li .facebook{background-color:#6381c0;}
.bsshare li .gplus{background-color:#ed6d5d;}
.bsshare li .pinterest{background-color:#e44d52;}
.bsshare li .linkedin{background-color:#2c9ad8;}
.bsshare li .twitter:hover,.bsshare li .facebook:hover,.bsshare li .gplus:hover,
.bsshare li .pinterest:hover,.bsshare li .linkedin:hover{color:#fff;}
.bsshare li:last-child{margin-right:0}
.bsshare li .fa:before{position:absolute;top:0;left:0;display:inline-block;padding:4px 15px;font-family:fontawesome;text-align:center;background:#444444;color:#FFFFFF;line-height:20px;}
.bsshare li .fa {display:initial;}
Step 7 Now again Find this code <data:post.body/> or <div class='post-footer'> by pressing Ctrl+F (Windows) or CMD+F (Mac)
Step 8 Copy the script from below and paste it below/after <data:post.body/>
or <div class='post-footer'>
<b:if cond='data:blog.pageType == "item"'>
<div class='bsshare'>
<ul>
<li><a class='facebook' expr:href='"http://www.facebook.com/sharer.php?u=" + data:blog.url' rel='nofollow' target='_blank' title='Facebook Share'><i class='fa fa-facebook'/>Share</a></li>
<li><a class='gplus' expr:href='"http://plus.google.com/share?url=" + data:blog.url' rel='nofollow' target='_blank' title='Google Plus Share'><i class='fa fa-google-plus'/>Share</a></li>
<li><a class='twitter' expr:href='"http://twitter.com/share?url=" + data:post.url' rel='nofollow' target='_blank' title='Twitter Tweet'><i class='fa fa-twitter'/>Tweet</a></li>
<li><a class='linkedin' expr:href='"http://www.linkedin.com/shareArticle?mini=true&amp;url=" + data:post.url + "&amp;title=" + data:post.title + "&amp;summary=" + data:post.snippets' target='_blank'><i class='fa fa-linkedin'/>Share</a></li>
<li><a class='pinterest' expr:href='"http://pinterest.com/pin/create/button/?url=" + data:post.url + "&amp;media=" + data:post.thumbnailUrl + "&amp;description= + data:post.title"' target='_blank'><i class='fa fa-pinterest'/>Share</a></li>
</ul>
</div>
<div style='clear:both'/>
</b:if>
Step 9 Now hit the Save template
Now check your Blog post and see beautiful social sharing widget
integrated in your Blogger template. You Blog visitors will love to share
content easily. For any further help please feel free to leave a comment below.
Thank you.
4 comments
I am using SumuMe plugins.. not this widget
you can read more about this from below URL
http://www.bloggerspice.com/2016/01/how-to-seriously-triple-my-website-traffic-with-SumoMe.html