Krueger Designs Web designer with the developer know-how.

Standard Social Share Buttons


Let’s share, like mother taught us to.

Sharing content on the Web is HUGE,¬†literally¬†everyone is doing it! At the same time, it’s a bit overrated. There’s a lot of half-baked ideas and lemmings regurgitating things they’ve read all over the place. Thankfully there are some awesome places to find quality information and content. Once you find it, you would hope it’s easy enough to share.

So here’s a share snippet, feel free to share it!

This is a new snippet I created for templates I build at work. I thought it could come in handy to others. Like the title says, these are your standard social share buttons from the big dogs: Facebook, Twitter, Google+, and Pinterest.

<!-- This next bit goes where you want the buttons to appear -->
<div class="social">
  <iframe class="fb-like" src="//;send=false&amp;layout=button_count&amp;width=50&amp;show_faces=false&amp;font&amp;colorscheme=light&amp;action=like&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe>
  <a href="" class="twitter-share-button" data-count="none">Tweet</a>
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);;js.src=p+'://';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
    <!-- Place this tag where you want the +1 button to render. -->
  <div class="g-plusone" data-size="tall" data-annotation="none" data-width="300" style="margin-top:3px;"></div>
  <!-- Place this tag after the last +1 button tag. -->
  <script type="text/javascript">
    (function() {
      var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
      po.src = '';
      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  <a href="//" data-pin-do="buttonPin" data-pin-config="none"><img src="//" /></a>
</div>Check out this Pen!

I hope this turns out useful, see a live demo on CodePen

  • Subhash Kapil

    The Design of your site is very nice & beautiful.

    • Adam Krueger

      Thank you Subhash, I appreciate your feedback. Is there anything in particular you liked about it? Or anything you didn’t like?