Cara Membuat Widget Sharing Dibawah Artikel Post

Cara Membuat Widget Sharing Dibawah Artikel Post - Ini adalah Widget sharing Sosial Di bawah Post. Widget ini cukup bagus bagus dari segi penampilan karena memiliki efek hover.
Dengan menggunakan widget ini, sobat dapat berbagi artikel ke berbagai social media hanya dengan skali klik.  Widget ini menggunakan CSS3 dan HTML, Just check out demo.



Bagaimana cara membuat Widget Sharing Dibawah Artikel Post ini ? silahkan sobat ikuti langkah-langkah berikut ini :

1. Log in to blogger account and Click drop down.

blog-post-option
2. Now select "Template" Like Below.

Select-template

3. Now you can see Live on blog, Click EDIT HTML Button"

4. Find this tag by using Ctrl+F    ]]></b:skin>

5. 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/AVvXsEjwHMFhRSgXAelEoJZmt4bwY45_lgWaAOhio131xzFi_epG-uYmi0b2wLLEVxfyAwnUbPaynBSvg3ehBTlKyLuwyCDQm798qDha5EsHjy9yuJhun0xncVkEGo4R481HcoDY9GbM6rT2EcCW/s1600/btrix-facebook-icon.png);
}
ul.social_btrix li.abtwitter {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsijfnTPsCNKR1nBvKHD73Cnzylir50E87NS9-HCDYwZuG6f_y6VwpZAvKfRGGsM2E_HR-nR4dDTfGxAxn-kD7AL0To7f-UBRnhm-c-uLbwfD0UFmIkAEU71nK-CRNhGlRfN6J4cptaA_j/s1600/btrix-twitter-icon.png);
}
ul.social_btrix li.abgoogleplus {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGtve76gmm1G86SRNRoE_VaormVrGZnTtzKpyqlsbFfeJ4XSREdlpK5u8x8jCkN3nnyJPcYeBLgqc0Vc2H3DVOUqjFYXWDa0xBj0tYKT79efUbfKvgXuRkOq2O1CUX_0zSIiK3lR2VPdF7/s1600/btrix-google-icon.png);
}
ul li.abpinterest {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMqfDYiniTxk1r-f-u1UCx3HBKuBb6XgmbbGd9b7UVANF3n9Yp2XdqJDXhmyhbUDjvRmDaaI_B0roFGAPQW5DCV_q7GjeGVgMQe0cU7evhnPxtVY2MA6Uew7UhhOpSCF9WIk-6RlszxY2S/s1600/btrix-Pinterest-icon.png);
}
ul.social_btrix li.abstumbleupon {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Tduf26RtY_SuwcJ28lw5F5AxC3Y4AB-2TucFSTqU6oAjHhqSaMqM_720ZICohjJEDqb3OLtiSMdunhmsUpAOn5C3b7w7OZOtEAPVX4H83WZV1ZflsIks7A0XuCI1Uu_V31B_SPySUeLM/s1600/btrix-StumbleUpon-icon.png);
}
ul.social_btrix li.abdig {background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW3A7FA2-u19yHx5xJXEtTSbMiEufUrXQoBoUGlOg8k2u8DjGtYSkHRXE3iFKEngApe0v3vtTahyphenhyphen2u2xQn-ZnAdHR8Ah-55t-Ns8UoHTFIC3Ti4GBhhVPTkpJpmZ6Zov8bhLOydCvpFsOO/s1600/btrix-Digg-icon.png);
}
ul.social_btrix li.ablinkedin {
background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcENCFhRlsjVarJG64iBDKUs6rfjwwbp2O0IJe4Bw-nuG01hk1J-_tdvvbSaH5ZQ8vHCerJf1vqmeJULVz0eg8XnCbCT73byJRGHEEuCr0BpQbb_kvaifAdh5FMRITKbO2VYKtMSIkCZs_/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;
}

6. Find this tag by using Ctrl+F    <data:post.body/>

7. Paste below code Before <data:post.body/> tag

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<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='&quot;http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=&quot; + data:post.url + &quot;&amp;t=&quot; + data:post.title ' onclick='window.open(this.href,&apos;sharer&apos;,&apos;toolbar=0,status=0,width=626,height=436&apos;); return false;' rel='nofollow'><strong>Facebook</strong></a>
    </li>
    <li class='abtwitter'>
    <a expr:href='&quot;http://twitter.com/home?status=&quot; + data:post.title + &quot; -- &quot; + data:post.url ' rel='nofollow' target='_blank'><strong>Twitter</strong></a>
    </li>
    <li class='abgoogleplus'>
<a expr:href='&quot;https://plusone.google.com/_/+1/confirm?hl=en&amp;url=&quot; + data:post.url' onclick='window.open(this.href,&apos;sharer&apos;,&apos;toolbar=0,status=0,width=626,height=436&apos;); return false;' rel='nofollow' target='_blank'><strong>Google+</strong></a>
    </li>
    <li class='abpinterest'>
<a href='javascript:void((function()%7Bvar%20e=document.createElement(&apos;script&apos;);e.setAttribute(&apos;type&apos;,&apos;text/javascript&apos;);e.setAttribute(&apos;charset&apos;,&apos;UTF-8&apos;);e.setAttribute(&apos;src&apos;,&apos;http://assets.pinterest.com/js/pinmarklet.js?r=&apos;+Math.random()*99999999);document.body.appendChild(e)%7D)());' rel='nofollow' target='_blank'><strong>Pinterest</strong></a>
    </li>
    <li class='abstumbleupon'>
    <a expr:href='&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title ' rel='nofollow' target='_blank'><strong>StumbleUpon</strong></a>
    </li>
    <li class='abdig'>
      <a expr:href='&quot;http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' rel='nofollow' target='_blank'><strong>Dig</strong></a>
    </li>
    <li class='ablinkedin'>
    <a expr:href='&quot;http://www.linkedin.com/shareArticle?mini=true&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title + &quot;&amp;summary=&amp;source=&quot;' rel='nofollow' target='_blank'><strong>LinkedIn</strong></a>
    </li>
    </ul>
</b:if>

8. Terakhir save template.

Source : www.bloggertrix.com

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel