Get the latest updates from us for free

Thursday, 7 March 2013

How To Add Advanced Mashable Social Widget To Your Blog


Mashable style widgets is one of the most popular social sharing widget which can be found on many blog/site. It entails different social media button/box like Google+ follower box, facebook like box, pin it button, twitter follower button, follow on pinterest button, and stylish subscription box. Implementing this on your blog increase your chances of getting more subscribers and follower.
In my previous post i have share a cool social sharing box with different buttons, which is very similar to this mashable widget. See the preview of the widget below.

e-NewsBlog Mashable Widget

  • Go to your blogger dashboard
  • Click on Design > Page elements > Add a Gadget (Old blogger Interface)
  • Click on Layout > Add a Gadget > (New blogger interface)
  • Choose HTML/JavaScript from the options provided, and paste the following code in the content box.

<style>
    /* Social Widget */
    #rb-mashable-bar {
        border: 0;
        margin: 0 auto;
        width:300px;
        border: 1px solid #DDD;
    }
    .fb-likebox {
        background: #FFFFFF;
        padding: 10px 13px 0 -5px;
        border-right: 1px solid #D8E6EB;
        border-left: 1px solid #D8E6EB;
        border-bottom: 1px solid #D8E6EB;
        margin:0px;
        height:70px;
    }
    .googleplus {
        background: #eae8e8;
        border-top: 1px solid #FFF;
        border-bottom: 1px solid #ebebeb;
        border-right: 1px solid #D8E6EB;
        border-left: 1px solid #D8E6EB;
        border-image: initial;
        font-size: .90em;
        font-family:"Arial", "Helvetica", sans-serif;
        color: #000;
        padding: 9px 11px;
        line-height: 1px;
    }
    .googleplus span {
        color: #000;
        font-size: 14px;
        position: absolute;
        display:inline-block;
        margin: 9px 70px;
        font-family: calibri;
        width: 280px;
    }
    .pinterest1 {
        background: #e7d9d9;
        border-top: 1px solid #FFF;
        border-bottom: 1px solid #ebebeb;
        border-right: 1px solid #D8E6EB;
        border-left: 1px solid #D8E6EB;
        border-image: initial;
        font-size: .90em;
        font-family:"Arial", "Helvetica", sans-serif;
        color: #000;
        padding: 9px 11px;
        line-height: 1px;
    }
    .pinterest1 span {
        color: #000;
        font-size: 14px;
        position: absolute;
        display:inline-block;
        margin: 9px 40px;
        font-family: calibri;
        width: 280px;
    }
    .g-plusone {
        float: left;
    }
    .gplus {
        background: #fff;
        padding: 0px;
        border: 0px solid #C7DBE2;
        margin-bottom:-13px;
    }
    .twitter {
        background: #eae8e8;
        padding: 10px;
        border: 1px solid #C7DBE2;
        border-top: 0;
    }
    .pterest {
        background: #e7d9d9;
        padding: 10px;
        border: 1px solid #C7DBE2;
        border-top: 0;
    }
    #mashable {
        background: #FFFFFF;
        border: 1px solid #CCC;
        border-top: 1px solid white;
        padding: 2px 8px 2px 3px;
        text-align: right;
        border-image: initial;
    }
    #mashable .author-credit {
    }
    #mashable .author-credit a {
        font-size: 10px;
        font-weight: bold;
        text-shadow: 1px 1px white;
        color: #1E598E;
        text-decoration:none;
    }
    #email-news-subscribe .email-box {
        background: #eae8e8;
        padding: 5px 10px;
        font-family:"Arial", "Helvetica", sans-serif;
        border-top: 0;
        border-right: 1px solid #C7DBE2;
        border-left: 1px solid #C7DBE2;
        border-image: initial;
        height:36px;
    }
    #email-news-subscribe .email-box input.email {
        background:#FFFFFF;
        border: 1px solid #dedede;
        color: #999;
        padding: 7px 10px 8px 10px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -o-border-radius: 3px;
        -ms-border-radius: 3px;
        -khtml-border-radius: 3px;
        border-radius: 3px;
        border-image: initial;
        font-family:"Arial", "Helvetica", sans-serif;
    }
    #email-news-subscribe .email-box input.email:focus {
        color:#333
    }
    #email-news-subscribe .email-box input.subscribe {
background: rgb(169,3,41);
background: -moz-linear-gradient(top, rgba(169,3,41,1) 0%, rgba(143,2,34,1) 44%, rgba(109,0,25,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(169,3,41,1)), color-stop(44%,rgba(143,2,34,1)), color-stop(100%,rgba(109,0,25,1)));
background: -webkit-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%);
background: -o-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%);
background: -ms-linear-gradient(top, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%);
background: linear-gradient(to bottom, rgba(169,3,41,1) 0%,rgba(143,2,34,1) 44%,rgba(109,0,25,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 );
        font-family:"Arial", "Helvetica", sans-serif;
        border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border:0px solid #9c9c9c;
        color:white;
        text-shadow:#cc7c00 0px 0px 0;
        padding:7px 14px;
        margin-left:3px;
        font-weight:bold;
        font-size:12px;
        cursor:pointer;
        border-image: initial;
    }
    #email-news-subscribe .email-box input.subscribe:hover {
background: rgb(143,2,34);
background: -moz-linear-gradient(top, rgba(143,2,34,1) 0%, rgba(109,0,25,1) 1%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(143,2,34,1)), color-stop(1%,rgba(109,0,25,1)));
background: -webkit-linear-gradient(top, rgba(143,2,34,1) 0%,rgba(109,0,25,1) 1%);
background: -o-linear-gradient(top, rgba(143,2,34,1) 0%,rgba(109,0,25,1) 1%);
background: -ms-linear-gradient(top, rgba(143,2,34,1) 0%,rgba(109,0,25,1) 1%);
background: linear-gradient(to bottom, rgba(143,2,34,1) 0%,rgba(109,0,25,1) 1%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8f0222', endColorstr='#6d0019',GradientType=0 );
        border-radius:3px;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border:0px solid #dcdbdb;
        color:#FFFFFF;
        text-shadow:#dcdbdb 0px 0px 0
    }
    #other-social-bar {
        background-color: #D8E6EB;
        box-shadow: 0 1px 1px #FFFFFF inset;
        padding: 0px;
        font-family:"Arial", "Helvetica", sans-serif;
        font-weight:bold;
        overflow: hidden;
        border: 1px solid #B6D0DA;
        height:37px;
    }
    #other-social-bar ul {
        list-style: none outside none;
        padding-left: 4px;
    }
    #other-social-bar .other-follow {
        float: left;
        color:#1E598E;
        overflow: hidden;
        height:20px;
        padding:5px;
        width: 270px;
    }
    #other-social-bar .other-follow ul {
        list-style: none outside none;
        padding-left: 4px;
    }
    #other-social-bar .other-follow ul li {
        font-size: 12px;
        font-weight: bold;
        display:inline;
        border:0;
        text-shadow: 1px 1px white;
    }
    #other-social-bar .other-follow ul li a {
        font-size: 12px;
        color:#1E598E;
        font-weight: bold;
        display:inline;
        text-shadow: 1px 1px white;
    }
    #other-social-bar .other-follow li {
        font-size: 12px;
        font-weight: bold;
        display:inline;
        border:0;
        text-shadow: 1px 1px white;
    }
    #other-social-bar .other-follow li a {
        font-size: 12px;
        color:#1E598E;
        font-weight: bold;
        display:inline;
        text-shadow: 1px 1px white;
    }
    #other-social-bar .other-follow li.my-rss {
        background: url('http://3.bp.blogspot.com/-sR72SM_Wets/TwHZG9y4hXI/AAAAAAAAFv8/0bP2R3Qkl8c/s400/rss-16x16.png') no-repeat transparent;
        line-height: 1;
        padding: 0px 3px 1px 20px;
        width: 60px;
        margin-bottom:0px;
        margin-left:5px;
    }
    #other-social-bar .other-follow li.my-rss a, #other-social-bar .other-follow li.my-twitter a, #other-social-bar .other-follow li.my-gplus a {
        text-decoration:none;
    }
    #other-social-bar .other-follow li.my-rss a:hover, #other-social-bar .other-follow li.my-twitter a:hover, #other-social-bar .other-follow li.my-gplus a:hover {
        text-decoration:underline;
    }
    #other-social-bar .other-follow li.my-twitter {
        background: url('http://2.bp.blogspot.com/-KsALKRN7Zzo/T0vKkSG3AfI/AAAAAAAAF_k/l-VHD5xxzps/s400/twitter%2527.png') no-repeat transparent;
        line-height: 1;
        padding: 0px 3px 1px 20px;
        width: 60px;
        margin-bottom:0px;
    }
    #other-social-bar .other-follow li.my-gplus {
        background: url(http://4.bp.blogspot.com/-cC729VpBxrk/TwHZE71ZgoI/AAAAAAAAFvk/_UMyIgA8vj8/s400/gplus-16x16.png) no-repeat transparent;
        line-height: 1;
        width: 60px;
        padding: 0px 3px 1px 20px;
        margin-bottom:0px;
    }

</style>
<!--[if IE]><style>#email-news-subscribe .email-box input.subscribe{background: #FFCA00;}</style><![endif]--><!--begin of social widget--><div style="margin-bottom:10px;"><div id="rb-mashable-bar"><!--Begin Widget --><div class="gplus"><link href="https://plus.google.com/u/0/110710740924128760289/" rel="publisher" /><script type="text/javascript">window.___gcfg={lang:'en'};undefinedfunctionundefined){var po=document.createElementundefined"script");po.type="text/javascript";po.async=true;po.src="https://apis.google.com/js/plusone.js";var s=document.getElementsByTagNameundefined"script")[0];s.parentNode.insertBeforeundefinedpo,s);})undefined);</script><script type="text/javascript">var _gaq=_gaq||[];_gaq.pushundefined['_setAccount','UA-29131740-1']);_gaq.pushundefined['_trackPageview']);undefinedfunctionundefined){var ga=document.createElementundefined'script');ga.type='text/javascript';ga.async=true;ga.src=undefined'https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagNameundefined'script')[0];s.parentNode.insertBeforeundefinedga,s);})undefined);</script><!--Place this tag where you want the badge to render --><g:plus href="https://plus.google.com/u/0/110710740924276530289/" width="300" height="131" margin="0px" theme="light"></g:plus></div><div class="fb-likebox"><!--Facebook --><div id="fb-root"></div><script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/en_US/all.js#xfbml=1";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));</script><div class="fb-like-box" data-href="http://www.facebook.com/Stefn772" data-width="292" data-show-faces="false" data-stream="false" data-header="false"></div></div><div class="googleplus"><!--Google --><span>Recommend us on Google!</span><div class="g-plusone" data-size="medium"></div><script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script></div><div class="pinterest1"><a href='javascript:void(run_pinmarklet1())'><img src="http://2.bp.blogspot.com/-lRae8bdMpuA/TzuLrnycXaI/AAAAAAAACQE/YVYUjfs7dm8/s1600/pinmask2.png" style='margin:0;padding:0;border:none;'/></a><script type='text/javascript'>function run_pinmarklet1(){var e=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);}</script><span>Pin It On Pinterest</span></div><div class="twitter"><!--Twitter --><iframe title="" style="width: 300px;height: 20px;" class="twitter-follow-button" src="http://platform.twitter.com/widgets/follow_button.html#_=1319978796351&align=&button=blue&id=twitter_tweet_button_0&lang=en&link_color=&screen_name=StefnStlvester&show_count=&show_screen_name=&text_color=" frameborder="0" scrolling="no"></iframe></div><div class="pterest"><a href="http://pinterest.com/StefnSylvester/"><img src="http://passets-cdn.pinterest.com/images/about/buttons/follow-me-on-pinterest-button.png" width="169" height="28" alt="Follow Me on Pinterest" /></a></div><div id="email-news-subscribe"><!--Email Subscribe --><div class="email-box"><form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.openundefined'http://feedburner.google.com/fb/a/mailverify?uri=StefnSylvester', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><input class="email" type="text" style="width: 150px;font-size: 12px;" id="email" name="email" value="Enter Your Email here.." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /><input type="hidden" value="StefnSylvester" name="uri" /><input type="hidden" name="loc" value="en_US" /><input class="subscribe" name="commit" type="submit" value="Subscribe" /></form></div></div><div id="other-social-bar"><!--Other Social Bar --><ul class="other-follow"><li class="my-rss"><a rel="nofollow" title="RSS" href="http://feeds.feedburner.com/BleraySpaceTech" target="_blank">RSS Feed</a></li><li class="my-twitter"><a rel="nofollow" title="twitter" rel="author" href=http://twitter.com/StefnSylvestertarget="_blank">Twitter</a></li><li class="my-gplus"><a rel="nofollow" title="Google Plus" rel="author" href=https://plus.google.com/u/0/117896762198761615212target="_blank">Google Plus</a></li></ul><!--Don't remove credits otherwise your widget will not work --></div><div id="mashable" style="background: #EBEBEB;border: 1px solid #CCC;border-top: 1px solid white;padding: 1px 8px 1px 3px;text-align: right;border-image: initial;font-size:10px;font-family: " arial ","helvetica ",sans-serif;"><span class="author-credit" style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.bluerayspaceltd.webs.com/2012/10/advanced-mashable-style-widget_9705.html" target="_blank"> Get This �</a></span></div></div><!--Don't remove credits otherwise your widget will not work --><!--End Widget --><!--end of social widget--></div>
  • Click on Save button.


Customization
Edit the below code in the widget code above, by following the code color.
  • To adjust the total width of the box simple edit width: 300px
  • Replace 1107107409241285900289 with your google+ profile page id number.
  • Replace Stefn772 with your facebook fanpage username.
  • Change StefnSylvester to your twitter username.
  • Replace StefnSylvester with your pinterest account username.
  • Replace http://feedburner.google.com/fb/a/mailverify?uri=BlueraySpaceTech with your site feed url, and BlueraySpaceTcch with your feed id.
  • Replace 117896778936461615212 with your profile id number.
Start playing with our HTML Editor for more customization of the widget to your own personal taste, and share this post with friends/followers. 

SHARE THIS POST

Author: admin
Lorem ipsum dolor sit amet, contetur adipcing elit, sed do eiusmod temor incidunt ut labore et dolore agna aliqua. Lorem ipsum dolor sit amet.

6 comments :

Thanks for your Comment/Suggestion.
We hope to see you again. Thanks for visiting.