This is a Below Post Social Sharing Widget. In this tutorial im gonna explain, how to add it to end of blogger post. It include nice title hover effect too. By using this social sharing widget, you can share your social networks with one click.It means, you can get some visitors to your blog if someone do sharing. Im using Css3 and HTML, Just check out demo about this Social Sharing Widget .
How to add Social Sharing Widget For blogger
- Log in to blogger account and Click drop down. blog-post-option
- Now select "Template" Like Below.
- Select-template
- Now you can see Live on blog, Click EDIT HTML Button"
- Find this tag by using Ctrl+F ]]></b:skin>
- Paste below code Before ]]></b:skin> tag
ul.social_btrix {
list-style:none;
display:inline-block;
margin:15px auto;
}
ul.social_btrix li {
display:inline;
float:left;
background-repeat:no-repeat;
}
ul.social_btrix li a {
display:block;
width:50px;
height:50px;
padding-right:10px;
position:relative;
text-decoration:none;
}
ul.social_btrix li a strong {
font-weight:400;
position:absolute;
left:20px;
top:-1px;
color:#fff;
z-index:9999;
text-shadow:1px 1px 0 rgba(0,0,0,0.75);
background-color:rgba(0,0,0,0.7);
-moz-border-radius:3px;
-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);
-webkit-border-radius:3px;
-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);
border-radius:3px;
box-shadow:0 0 5px rgba(0,0,0,0.5);
padding:3px;
}
ul.social_btrix li.abfacebook {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkULrmFUl24Jw16DoC7nooSI7kFhtsTojGiDTd5HE4t3GrGNnZwpU2MIONQPYGe2CzA05uTsMNJdlBAKcawTloTA9GximszFqxmnja9MPo4PYt5us3pvsikCbuBCvZnlOBIDY1_HF3t4Zp/s1600/btrix-facebook-icon.png);
}
ul.social_btrix li.abtwitter {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicMA64fRb9V2PifZWaXZFpZw657H5eWa-arIEypyfpxa1vfIl8why1sdhqOjnwGbQF2xvlJRw2NMfBzIDKNEXqvMil_8cPVt5vykyNR5nDKdtM3lgkE6Y-Mor8v80vfQLYFG1aT6lxsSux/s1600/btrix-twitter-icon.png);
}
ul.social_btrix li.abgoogleplus {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifPzKU86VUrc88eFvV836mVp9yJxg5g4g52Lw0ZaixZgLoVt0IcKYOrJ4fOjjh6ImgIIQzo1Zl3D0MWrXqusoxmKOksbAuHQI_Y-niwWgCH5eInLcDSKrRXnUdd5BBIyKsEEyRJYOAMRiN/s1600/btrix-google-icon.png);
}
ul li.abpinterest {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifadoBcFnbJUcW-uTLNVNaU_cnJr2q9f5MU_fvIxJsscnBZM2ZANy8skzDmTb_VukAajkTnhykXmWswtGox2CkZzbyd_2rVyPYl6eALNPVhtcinemOkahU8zixIg1sMzXbk-DDBrHNWhZ6/s1600/btrix-Pinterest-icon.png);
}
ul.social_btrix li.abstumbleupon {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYHhwFKvET8HZ1qQ8McXzIecslPuVQyyhe-rBgmxiS4ODRWkIfkxMcx2ZMi-TpNWLKLjBV7n23DXCPOyhzLuumEW_GK-3A8re2WrH8Yqvufk0tRQtaxgT5WPfnJsL03phKmS6_hYMQoumE/s1600/btrix-StumbleUpon-icon.png);
}
ul.social_btrix li.abdig {background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS3VvYqoF2BWaIjxdfsGvz3dRtJBCsaoLLtpLuZ7mL2ntm7Sxdw7LGNuSUURqDVEHgMYH_DLVcjdVabT2lXMNwKDKw68t7OzqGCLeBgPm4q0SfzIIQjRe17aLqmas5u9G-E5lRKTjFfxGz/s1600/btrix-Digg-icon.png);
}
ul.social_btrix li.ablinkedin {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuD-wzwzd1XOOwZGoUGIjnbfoj5UyUhBFQV7k65QPYATcIMsaTvTFFarPr1BnvHgg63GvCJMKViDHM6M_7cE1iz0SH3GUUE7rPOZ0NpohZAAco0tEro3DSt-uCmAvYE0uyPNSitQAXZ7YM/s1600/btrix-Linkedin-icon.png);
}
#animation_btrix:hover li {
opacity:0.2;
}
#animation_btrix li {
-webkit-transition-property:opacity;
-webkit-transition-duration:500ms;
-moz-transition-property:opacity;
-moz-transition-duration:500ms;
}
#animation_btrix li a strong {
opacity:0;
-webkit-transition-property:opacity, top;
-webkit-transition-duration:300ms;
-moz-transition-property:opacity, top;
-moz-transition-duration:300ms;
}
#animation_btrix li:hover {
opacity:1;
}
#animation_btrix li:hover a strong {
opacity:1;
top:-10px;
}
- Find this tag by using Ctrl+F <data:post.body/>
- Paste below code Before <data:post.body/> tag
b:if cond='data:blog.pageType == "item"'>
<div style='font-size: 22px;'><b>Share this article with your friends.</b></div>
<ul class='social_btrix' id='animation_btrix'>
<li class='abfacebook'>
<a expr:href='"http://www.facebook.com/share.php?v=4&src=bm&u=" + data:post.url + "&t=" + data:post.title ' onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow'><strong>Facebook</strong></a>
</li>
<li class='abtwitter'>
<a expr:href='"http://twitter.com/home?status=" + data:post.title + " -- " + data:post.url ' rel='nofollow' target='_blank'><strong>Twitter</strong></a>
</li>
<li class='abgoogleplus'>
<a expr:href='"https://plusone.google.com/_/+1/confirm?hl=en&url=" + data:post.url' onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436'); return false;' rel='nofollow' target='_blank'><strong>Google+</strong></a>
</li>
<li class='abpinterest'>
<a href='javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());' rel='nofollow' target='_blank'><strong>Pinterest</strong></a>
</li>
<li class='abstumbleupon'>
<a expr:href='"http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title ' rel='nofollow' target='_blank'><strong>StumbleUpon</strong></a>
</li>
<li class='abdig'>
<a expr:href='"http://digg.com/submit?url=" + data:post.url + "&title=" + data:post.title' rel='nofollow' target='_blank'><strong>Dig</strong></a>
</li>
<li class='ablinkedin'>
<a expr:href='"http://www.linkedin.com/shareArticle?mini=true&url=" + data:post.url + "&title=" + data:post.title + "&summary=&source="' rel='nofollow' target='_blank'><strong>LinkedIn</strong></a>
</li>
</ul>
</b:if>
- Now save your template. You are done.
Hope this Social Sharing Widget helps to get more traffic from social networks.
EmoticonEmoticon