HTML Share Buttons

This page is a temporary measure, while I work on the Simple Share Buttons HTML Generator! In the meantime, I figured it’s only fair, to share the share buttons in a plain HTML format.
Trade Fairly Online Shop

Trade Fairly Online Shop

First things first (although you may have thought it last), you need to style your buttons. Here is some pretty basic CSS code that will apply the default settings, best placed within your <HEAD> tags (it’ll work just before the buttons though if you can only place it there). Obviously feel free to add to/amend any of this, if you’re not too sure how to amend things to your liking, please just leave a comment.

With your CSS in place, you then need to add the HTML script for the buttons…

That will get your share buttons up and running! You’ll be sharing this website though, so there’s still more to be done…

Start by changing all instances of ‘http://www.simplesharebuttons.com’ with the URL of the site/page you wish the buttons to act for.

Note that you will need to include the http:// or https:// for the links to be shared correctly. All share buttons, bar Pinterest, will need this changing.

Next, change the four instances of ‘Simple Share Buttons’ to the title of the page or website that the buttons will be displayed. These are present for the following share buttons:

  • Twitter
  • Reddit
  • StumbleUpon
  • Email

There are further customisable options available for some of these share buttons, but let’s keep things simple for now.

Last, but by no means least, the images. The HTML code above will use buttons located on this website, which you are more than welcome to use. The buttons will load more quickly however if you upload them and change the image sources<img src="URL of image here"> accordingly.

You can download a zipped folder of the ones in this example here.





Trade Fairly Online Shop

Trade Fairly Online Shop


Share! Share on LinkedInShare on FacebookPin on PinterestTweet about this on TwitterGoogle+Share on RedditDigg thisShare on StumbleUponBuffer this pageFlattr the authorEmail to someoneshare on Tumblr