Before using social bookmarking option, you must be aware of icons design how much clickable is it. Your readers are likely to click social bookmarking button containing in your blog if they find the buttons really cool. If you haven't such buttons, so here is something special for you.
Social bookmarking buttons with spinning hover effect. Buttons are cool itself and when your reader hover the mouse over it, it spins a round.
Here is how to add these cool buttons to your Blogger blog:
Login to Blogger > Design > Edit HTML > Expand widget templates. Find the following code in your template:
<data:post.body/>
Just below that add the following group of codes:
<b:if cond='data:blog.pageType == "item"'>
<div class='spinning_icons'>
<a class='twitter' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share' rel='nofollow' target='_blank' title='Twitter'>Twitter</a>
<a class='delicious' expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Delicious'>Delicious</a>
<a class='digg' expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Digg'>Digg</a>
<a class='facebook' expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Facebook'>Facebook</a>
<a class='stumbleupon' expr:href='"http://www.stumbleupon.com/refer.php?url=" + data:post.url + "&title=" + data:post.title' target='_blank' title='Stumbleupon'>Stumbleupon</a>
<a class='rss' href='http://feeds.feedburner.com/MoreForBlogger' target='_blank' title='RSS'>RSS</a>
</div>
</b:if>
Replace Moreforblogger with your feedburner username. Again, find the following code:
]]></b:skin>
Just above that code, past the following:
.spinning_icons a{
width:48px;
height:48px;
display:inline-block;
text-indent:-9999em;
background-position:0 0;
background-repeat:no-repeat;
z-index:2000;
overflow:hidden;
}
.twitter{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8oUzDKt44qg0Qaask2bzvClmK10Ar_Jtk2d4ehTsmAEzvMcuJxTcD4j1Lnw0Wg2-4zFrvMYl4xNqKn1DV6aKxRoKYP_vnczUvlPO6fH48oNuDpm_CiSW6uXoBvLIMDA-kIm-JX2KP4KY/s1600/twitter_32.png'); }
.delicious{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpJWQo1rXYMK-o7UG9Dbhi-nExj8IKjJ6RhFCoW1jcnzgvaGiILzNbtzJo-aHo_8Vzc8DnPSFnQbLG-a8eMplJ6rt21Ecom00krN3E1quHwIPtffD-p649909B88Tq1VdkhK893euQ7Tg/s1600/delicious_32.png'); }
.digg{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFNlQC9O4OiIv5bYZPEk2NRkQTV4uf0YF2mNHxwdSNjVbnsrrK2sER2BkT1xBLYhndcVxTOl84av4avdk9-w0AxAd0owoxy_8anTbm05NwTQ_g3uKA5zQnEzgiBPODaELhstMq-dtyZNU/s1600/digg_32.png'); }
.facebook{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-T8STdSGfY6leLYyaWPkHshbwLxrYM4Xk3au0UyCvGnHOY30Tcy1tsxTKUIeU142ne9MaM1Y-AN04jK4jSPAukswCyL8z0SDB5BMKfosfv_x74CQoggjJR775g58fpaJVp63fq_zi2TI/s1600/facebook_32.png'); }
.rss{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkMoiOAKaMHxwvrVJjwt3l97s9ExZ8c8-UeAS8sYRdSmQCHgZyB7LovooxRSGoQ-1oJZyflK_rxDfmQr_HyEwJR1pXfZbacA3UU-ZgX-6hBjHDvFNQAGVp1hmtDysi-adk81EfgA5HH-U/s1600/rss_32.png'); }
.stumbleupon{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijxMpdZw6xf5oYOiAEIrugONY6JvH3S0ebi-Wh_2ukdM9PVbMNB4Wg592Z6xjXY7iaNHkB0L8uM4L3AtycHm-Cw3fUFOpQkMbw1VmGxQx41Fn79f4XHFzPmU7hY4q7eHCHbS3LS2KLsNU/s1600/stumbleupon_32.png'); }
.spinning_icons a:hover{
transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
transition: transform 0.2s ease-out;
-webkit-transition: -webkit-transform 0.2s ease-out;
-moz-transition: -moz-transform 0.2s ease-out;
}
Now save the template and your are done! Have a look at your cool new bookmarking button that appears at the bottom of your post.
And if you liked this post, please consider sharing it. Thanks!
Source:Internet
0 comments:
Post a Comment
Please don't spam. We hate spammers