Mashable Mashshare Social Media Sharing Widget For Blogger V2
Here it is! "Mashable Mashshare Social Sharing Widget for Blogger v2"
-
Introduction
Now comes with a new and stylish look, with total shares counter - this thing has been made possible thanks to Sharrre, you can visit their website for more details. Enough with the introductions because nothing is more important than having this widget into your blog!
Features
Lightweight CSS
Minified Script
Improved HTML
SEO friendly
Fully Customizable
Flat Design
Requirements
Jquery Library v1.2.3 or higher (?)
-
Demo
Demo not available.
-
HTML
Go to Blogger » Template » Backup your Template » and Edit HTML
Search for <div class='post-footer-line post-footer-line-1'> then copy the following code right after it
*you might not see <div class='post-footer-line post-footer-line-1'> in your template so please look for any similar code, and also you can paste the code anywhere you want the widget to be shown
<b:if cond='data:blog.pageType == "item"'><div class='social-div'><div id='sharrrrre'><div data-title='SHARES' id='shareme'/></div> <div style='display: inline-block; margin-bottom: 20px;'> <a class='mbafacebook' expr:href='"https://www.facebook.com/sharer.php?u=" + data:post.url + "&title="+ data:post.title' id='socialshare' onclick='window.open(this.href, 'windowName', 'width=550, height=600, left=24, top=24, scrollbars, resizable'); return false;' rel='nofollow' target='_blank'> <img src='https://googledrive.com/host/0B8D3MQmcZTyvN1kzV3lfS2h6NW8'/>Share on Facebook</a> <a class='mbatwitter' expr:href='"https://twitter.com/share?url=" + data:post.url + "&title=" + data:post.title' id='socialshare' onclick='window.open(this.href, 'windowName', 'width=550, height=600, left=24, top=24, scrollbars, resizable'); return false;' rel='nofollow' target='_blank'> <img src='https://googledrive.com/host/0B8D3MQmcZTyvVXp2Qm5OSzRMUmM'/>Share on Twitter</a></div> <div id='expand-social' style='display:none;'> <a class='socialshare2 mbagoogle-plus' data-title='Google+' expr:href='"https://plus.google.com/u/0/share?url=" + data:post.url' onclick='window.open(this.href, 'windowName', 'width=550, height=600, left=24, top=24, scrollbars, resizable'); return false;' rel='nofollow' target='_blank'></a> <a class='socialshare2 mbalinkedin' data-title='Linkedin' expr:href='"https://www.linkedin.com/shareArticle?mini=true&url=" + data:post.url + "&title=" + data:post.title + "&source=" + data:blog.title' onclick='window.open(this.href, 'windowName', 'width=550, height=600, left=24, top=24, scrollbars, resizable'); return false;' target='_blank'></a> <a class='socialshare2 mbastumbleupon' data-title='Stumble-Upon' expr:href='"https://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title' onclick='window.open(this.href, 'windowName', 'width=550, height=600, left=24, top=24, scrollbars, resizable'); return false;' rel='nofollow' target='_blank'></a> <a class='socialshare2 mbapinterest' data-title='Pin it' expr:href='"https://pinterest.com/pin/create/button/?url=" + data:post.url + "&media=" + data:post.thumbnailUrl + "&description=" + data:post.snippet' onclick='window.open(this.href, 'windowName', 'width=550, height=600, left=24, top=24, scrollbars, resizable'); return false;' rel='nofollow' target='_blank'></a></div> <div class='share-toggle'> <div id='social-expand' onClick='toggle('expand-social');'> <div class='expand-plus expand'>+</div> <div class='expand-minus expand'>-</div> </div></div></div></b:if>
-
CSS
Search for ]]></b:skin> then copy the following code above it
#sharrrrre{float:left;margin:-10px 5px 0 0;padding:15px 15px 15px 0;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF10Yah8mDwslbwde3QJwQwI2CIhfHbsgEiCIyuvQtBr9mdWzqYAHVYCzF6ZNhQzzkpYQdjBNOGJ4xnmfNxE3dbiDA2t4yiPj7C8Q1pG4_EOKD_VkuR4jango5sqmG5U2M7CU39Qd3p8s/s1600/diagonal.png) no-repeat 100% 50%}.sharrre .count,.sharrre .share{display:block;text-align:center;text-decoration:none;width:100px;padding:0}.sharrre .count{font-weight:700;position:relative;line-height:40px;color:#7fc04c;font-size:50px}.sharrre .share{color:#666;font-size:10px;height:10px}.social-div a{text-decoration:none!important;display:inline-block}.social-div a img{display:inline-block;width:auto;height:auto;margin:0 8px 0 -5px;vertical-align:middle}#socialshare,.share-toggle{display:inline-block;text-align:center}#socialshare{vertical-align:middle;font-size:16px;padding:14px 20px 15px;font-family:Raleway;margin-right:5px;-webkit-font-smoothing:antialiased;-webkit-text-rendering:optimizeLegibility}#socialshare:active{padding:15px 20px;margin-bottom:-1px}#socialshare:hover{opacity:.9}.share-toggle{position:relative;cursor:pointer;color:#fff}#socialshare,.share-toggle a{color:#fff;text-decoration:none}.share-toggle,.social-div{vertical-align:middle}#expand-social,#social-expand{display:inline-block;vertical-align:middle;position:relative}#expand-social{height:53px}#social-expand{top:0;left:0}.expand{box-shadow:0 3px 0 0 #c5bebe;background:#cdcccc;position:relative;width:40px;height:40px;line-height:40px;font-size:200%}.expand:active{box-shadow:0 1px 0 0 #c5bebe;height:41px;margin-bottom:-1px}.expand:hover{opacity:.9}.expand-minus{display:none}.socialshare2{width:50px;height:50px;display:inline-block}.socialshare2:active{height:51px;margin-bottom:-1px}.socialshare2:hover{opacity:.9}.mbafacebook{background:#507bbf;box-shadow:0 3px 0 0 #4671b5}.mbafacebook:active{box-shadow:0 1px 0 0 #4671b5}.mbatwitter{background:#63cef2;box-shadow:0 3px 0 0 #57c4e9}.mbatwitter:active{box-shadow:0 1px 0 0 #57c4e9}.mbagoogle-plus{box-shadow:0 3px 0 0 #43454c;background:#4d4f54 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJqORwwICE9f-6oIOKylljk8Mw9upzwmc4dEqcQ9hjR4nbtCfV1nEydx-rfrDM3m5CKrbENvrzT9AoYUHXQn0yDnBC9iGCcUqK20g-31UGCNa-LVqatFGVnnqNPwhLKJDceV8xNKTgpFY/s20/g+.png) no-repeat center}.mbagoogle-plus:active{box-shadow:0 1px 0 0 #43454c}.mbalinkedin{box-shadow:0 3px 0 0 #12a4db;background:#1aace3 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Unwt0ataxl4l2Sh_2gHmYBaUWKpzXYAkZqV6h56ALz9bxmtgswKoJt4hBMThx-cIlp4caLyFp-PKjFcVTsT9x93m__xkrQZG3-FLPF23G6V-LkTjXiJjq74WbGv8hyphenhyphen3FBlY7WOVewss/s20/in.png) no-repeat center}.mbalinkedin:active{box-shadow:0 1px 0 0 #12a4db}.mbapinterest{box-shadow:0 3px 0 0 #e85756;background:#f16261 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPILC6gdCtozyxCE85QyVweVYfOhR1ohm77lnvatwo6xQYqG-W95Ak0-2Wru4srXSO4-6etz6YH5ejhog3ttPQvCwN2XEc_tDcT9cSqJtD_Li_D5Ji5gpvlRgow7FSuUs-usxNqCdnkA0/s20/pinterest.png) no-repeat center}.mbapinterest:active{box-shadow:0 1px 0 0 #e85756}.mbastumbleupon{box-shadow:0 3px 0 0 #f5a635;background:#fdaf40 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4ZcpaQC3t5pOZYqWzBdC9EWNxWuExJmkif6l72-h4Lul2Ua_LFvu8v-gDUx6cqZEPmsvAMRExxd8_nLuiU1D0OTwqkCz-asGiUNiDj1gV_63mfNIVFxFCHMV6-O8xIkTKfuVSezYYHYk/s20/stumble.png) no-repeat center}.mbastumbleupon:active{box-shadow:0 1px 0 0 #f5a635}
Save your Template
-
Script
Now search for </body> and just above it copy the following code
<script src='https://c8e27177358b76154f67a92cab4608cc54cd08c0.googledrive.com/host/0B72-8N3aLQVmai0zWDl1U1AxeTQ'/> <script type='text/javascript'> $(function(){ $('#shareme').sharrre({ share: { googlePlus: true, facebook: true, twitter: true, stumbleupon: true, linkedin: true, pinterest: true }, enableTracking: true, enableHover: false, }); }); </script> <script type='text/javascript'> function toggle(d){$("#" + d).animate({width:'toggle'},400);} $(document).ready(function(){$("#social-expand").click(function(){$(".expand-plus").toggle();$(".expand-minus").toggle();});}); </script>
Save your template
-
Final Words
Hope you liked it. Express your thoughts by leaving a comment. Until next time, Thank you!
- Comments
- 48 Blogger
- Disqus
Thanks for sharing! Nice widget. But It's not functioning properly in my blog. Please see it and help me.-> http://www.newbloggerlab.com/2014/09/self-hosted-wordpress-org-vs-free-wordpress-com.html
ReplyDeleteHi, I tried and tested this widget several time on different templates and it worked perfectly. In your case, please make sure you don't have any overlapping CSS, it looks like you have other CSS on your "a{" link
DeleteUPDATED!
ReplyDeletePlease reinstall this widget into your own blog AGAIN! ;) thanks!
see Live Demo for your blog template Bikiran Simkhada here > http://otakumodeph.blogspot.com/2014/03/lorem-ipsum.html#sharrrrre
and also, your blog is a bit small so please CHANGE "width:100px;" to "width:60px;" cheers!
Millions of Thanks to you Lloyd Alemania. If you don't mind I have some questions/problems. Can you please help to fix my Blogger template's font distortion. You can see at the screenshot from this URL. http://prntscr.com/4o7lfm
ReplyDeleteI want Titillium Web font. You can see even at your blog template it's problem with font -> they are becoming bold and default font is not showing. http://otakumodeph.blogspot.com/2014/03/lorem-ipsum.html
Will you please add contact us page to your blog so that people can easily reach you.
Thanks!
Sorry I don't get what you want to say, do you mean something like this > http://otakumodeph.blogspot.com/2014/09/bikiran-simkhada.html#sharrrrre ??
ReplyDeleteif yes, then follow the instruction i prepared for you :)
i didn't realize it that i have no CONTACT US page until now HAHAH i forgot XD thanks for reminding me!
Okay You're welcome. Actually I mean the fonts are not functioning well in my blog. Look at this screenshot http://prntscr.com/4o9qf9
ReplyDeleteSo I'm saying that if you could help me. That's it. And I really like to thank you for your time and effort for me.
May I know why a expert blogger like you is not registering a domain name for your blog? Your blog is great and you can do well in this field I think!
It's my pleasure to help you! haha of course i'd like to help but can you elaborate more? cause i still dont get it, on the screenshot both the highlighted part looks similar, but here > http://www.newbloggerlab.com/2014/06/google-is-starting-domain-registration-service.html < its not? is that what you want to tell me from the beginning? XD HAHAH
ReplyDeleteSo basically you want them in Titillium Web font unfortunately there is something that is malfunction and turning them into ARIAL font? or the other way round? Awhile ago you said you want Titillium Web font and the problem is it is becoming BOLD and the DEFAULT font is not showing? I might solve this problem with this last question : "What are you referring to with DEFAULT font? the Titillium Web font or ARIAL?" ohh seems you've implemented some changes, and now it's in ARIAL, is that what you want?? XD HAHAH sorry i wasn't able to help at all XD HAHAH but still JOB WELL DONE ^_^
ReplyDeleteYes Lloyd Alemania,
ReplyDeleteNow you got it. Exactly! My template's original font is Titillium Regular. But the dropbox account where the font files has been hosted have become suspended due to over traffic. I don't have the files. The font is becoming Arial and malfunctioning. Look at the code below and match it with the page that you created(http://otakumodeph.blogspot.com/2014/09/bikiran-simkhada.html)
@font-face {
font-family: 'TitilliumMedium';
src: url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L002-webfont.eot');
src: url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L002-webfont.eot?#iefix') format('embedded-opentype'),
url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L002-webfont.woff') format('woff'),
url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L002-webfont.woff') format('truetype'),
url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L002-webfont.svg#TitilliumMedium') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumRegular';
src: url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L003-webfont.eot');
src: url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L003-webfont.eot?#iefix') format('embedded-opentype'),
url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L003-webfont.woff') format('woff'),
url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L003-webfont.ttf') format('truetype'),
url('https://dl.dropboxusercontent.com/u/137869302/TitilliumText25L003-webfont.svg#TitilliumRegular') format('svg');
font-weight: normal;
font-style: normal;
}
So if we can upload our own files in dropbox or somewhere we can fix this problem. A few hours ago, it has been fixed. But again the dropbox files shows 509 errors. I was going to download those files but unfortunately I couldn't due to my network problems. So please help to fix this error. I think I've explained very well about my problems now. Thanks!
Ohh! hahaha! Here's a little guide for you my friend ;)
ReplyDeletehttp://otakumodeph.blogspot.com/2014/09/a-little-guide.html
Thank you very much my friend. It is working somehow again (with distortion in chrome). But working fine in other browsers.
ReplyDeleteAnd For Your trouble again,
I found that the Mashable Mashshare Social Media Sharing Widget is not working in other browsers. I is working like charm on Chrome, but in IE, Firefox - it doesn't seems to be working. Here's a screenshot. http://prntscr.com/4og3hs Can you do something to fix this!
working on it! thanks.
ReplyDeleteit's your template that is causing this problem, the CSS doesn't load properly in your template. so to solve this problem just enclose the css code with <style> and add it before </body> tag. ^_^ let me know if there's another problem!
ReplyDeletesomething like this
<style>
#sharrrrre{
float:left;
margin: -10px 5px 0 0;
padding: 15px 15px 15px 0;
background: url(http://3.bp.blogspot.com/-TguUlFiODMQ/U_Ex40j2nPI/AAAAAAAAHDQ/UPbx0X7po-U/s1600/diagonal.png) no-repeat 100% 50%;
);}
.
.
.
.
.
.
</style>
Thank you very much my friend. It worked!
ReplyDeletePlease update contact page at your blog and hope to work with you further. See you :)
I just visited your blog and it's still having some trouble with this widget,
Deletehere's a screenshot : http://1.bp.blogspot.com/-ciPaKebDl9Y/VB0A055Oj2I/AAAAAAAAHNQ/clXn7lWWh0I/s1600/asd.png
please paste the CSS before </head> instead of </body> - it will load the CSS primarily, best regards, until next time!
and about the contact page, i am currently working on it, thanks :)
Its not working on my blog pls help
ReplyDeleteIts not appearing in my blog post why http://www.scoopthatvibes.com/2015/02/friends-vs-best-friends-level-of-awesomeness.html
DeleteHi Avinash Kumar, today when i visited your blog, everything works fine,, it looks like youve already fixed the problem? i hope you like this widget! Please keep on visiting. Thank you! :)
Deleteplz help me not woking share count
ReplyDeleteHi friend! Can you provide me a link of your blog? Look if there are 2 similar Ajax Library in your template (http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js),, delete the other one if there is
Deletehttp://kanapita.srinews.info/
Deletenot work dr
Hi! I looked upon your blog's page source and found 2 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script> ,, kindly remove one to fix the problem. THANK YOU! :)
Deletei delet it, but not work
ReplyDeletehi sri news.. i really don't know what causing your problem, but everyone else doesn't encounter problems about this widget.. i really love to help you fix this issue.. have you reinstalled the widget? try removing <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script> or adding it above <b:skin>
DeleteHi.
ReplyDeletei've follow all the instructions but the share widget still didn't appear. Mind to look at this?
http://masammanisdot.blogspot.com/2015/04/tips-jimat-bil-telefon-ini-tidak.html
Hello there! I really can't fix it without the kind of template you are using, would you mind sending me a copy? I'll try to find a solution for your problem. Thanks.
Deletei can't find your email. i tried to contact you via g+ but unsuccessful. Could you please contact me at farisizzat@gmail.com
Deletei will send the copy of the template via email. tq
Thank you for trusting MBA, the POST FOOTER in your template is somehow hidden, so you just need to add the 3rd CODE (the one with the SOCIAL-DIV) somewhere else,, live preview > http://dilaw-template.blogspot.com/2015/01/asdas.html
Deletei replaced
<div class='share-post'>
<h4 class='title'>Like to share?</h4>
.
.
.
</div>
with the 3rd code which is
<b:if cond='data:blog.pageType == "item"'>
<div class='social-div'>
<div id='sharrrrre'>
.
.
.
.
</div>
</div>
</b:if>
Hope you like it :)
Hi. tq for you help. finally successfully installed the widget in my blog here at www.eelleebeauty.com
DeleteThis comment has been removed by the author.
ReplyDeleteAssalamoalekom... hi u are very nice person.
ReplyDeletei want to ask why a twitter's logo not appear ? is that png or jpg ? i still dont understand.
please reply my question :(
sory for my english
Please send me a link to your site for me to fix your problem, thanks :)
Deletehai . i reply this use my another account, here at: warnai.com when i tried my self, the widget doesnt appear , help me
DeleteI can't help you with your problem without seeing the actual deal, I used images for the logos in this widget therefore it should appear properly with no problems, please try reinstalling the widget and step by step follow the instructions correctly.
Deletei have more problems.with my template please send me email to kolorindotcom@gmail.com . i want to give my template to u and ask ur help why this widget not appear on my blog :)
Deletehi , tq for great widget..
ReplyDeletei hove some problem here. problem is ( refer link picture ) :
http://i.imgur.com/gt8SFbe.jpg
my site : http://www.cikgugrafik.com/
sory for my english
i try remove ( refer link picture )
Deletehttp://i.imgur.com/CKJYiPf.jpg
after remove count number is missing but , my blog is no more loading button
Hi there! The code you've removed is quite important for this widget to work, it is a jquery or should i say a foundation for jquery(s) to work.. by the way, what are you trying to do? maybe i could help you! :)
DeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
DeleteThanks for the awesome codes!
ReplyDeletehttp://maitengoklah.blogspot.my/2015/12/penjelasan-tnb-isu-tips-cabut-plug.html
how do i make that word "Shares" bigger?
Deletenvm. i figured it out alraedy. thanks again!
DeleteTwitter Logo Disappear?
ReplyDeleteHi! It seems googledrive became unresponsive for some reason, you may change:
Deletehttps://googledrive.com/host/0B8D3MQmcZTyvVXp2Qm5OSzRMUmM
with this url for more stable connection under blogspot domain :
http://4.bp.blogspot.com/-2FkJF7FXQUY/Vn5wLLzYg7I/AAAAAAAAHxw/-bwXxHYZZhU/s1600/0B8D3MQmcZTyvVXp2Qm5OSzRMUmM.png
thank you for visiting and leaving your comments! :)
the counter suddenly not working. got any ideas?
ReplyDeletehttp://maitengoklah.blogspot.my/2015/12/rayani-air-baru-sahaja-diperkenalkan.html
it works all the time, however it takes some time to load, to fix this problem you may add the JS scripts before your 'head' end tag instead of 'body' end tag inside your blogger template.
DeletePerfect Design
ReplyDelete