Primp My Blog: How to Add Social Media Buttons to Your Sidebar

by Kira @ Her New Leaf on January 31, 2012

Now that your blog is getting beautiful, you’re going to want to share it! Adding buttons to your blog requires a tiny bit of know-how, but it can make a big impact for your readers.

I’d also like to take a moment to share that you can now follow Her New Leaf on Facebook! I plan to use the page to communicate with my readers, find out what you want to read more about, and even provide some exclusive content for Facebook followers only!

The buttons that I use in my own sidebar are courtesy of Isa Maria of The Academy. I had been searching high and low for a cute set of icons that included a button to link to my Pinterest, and when I discovered Isa Maria’s adorable icons based on the Pantone Color of the Year, I knew they were perfect and couldn’t wait to share. Please click over to her blog and subscribe to her newsletter, they are full of wonderful tips and advice for your blog or business!

I wanted to share this fantastic resource with you all, so I decided to put it together with a teeny, tiny html primer. Don’t be scared! Way, way back when I was a wee geek of twelve, I taught myself enough html to create my own pages on Angelfire and Geocities. Remember those? So if I could do it then, you can do it now!

Rather than just giving you code to copy and paste, I figured I’d break it down a bit and teach you so that you can add a bit of html to your blog design repertoire. But if you just want to copy and paste and get it over with, I promise not to hold it against you. ; ) You can scroll to the bottom of this post to find out how.

Edit: Several of you have reported having trouble locating the URL for the buttons – that’s because you need to create it yourself by uploading the images to your own image hosting service. WordPress users can use the built-in Media Library, Blogger users can use an external service such as Photobucket. This is where you’ll find the image URL.

From your WordPress dashboard, go to Appearance > Widgets, and click and drag the “Text” Widget from the box on the left to your sidebar box on the right. It will open up a blank box.

From your Blogger dashboard, go to Design, then click “Add a Gadget.” Select “HTML/Javascript” from the menu. It will open up a blank box.

First, we’re going to learn how to create a link. You can use this basic html tag in your blog posts, email, anywhere you can use html.

<a href="URL of link">Text to Link</a>

Your link will look something like this:

My Facebook!

You can also edit this tag slightly so that your link will open in a new tab or window. This is helpful since you don’t want your readers to leave your blog to look at your pages.

<a href="URL of link" target="_blank">Text to Link</a>

But we want to show our cute buttons, so you’ll need this tag to place an image:

<img src="URL of image">

Finally, we combine the two tags to add a link to the image:

<a href="URL of link" target="_blank"><img src="URL of image"></a>

This is the same code, with my links as examples:

<a href="http://www.facebook.com/pages/hernewleaf/"target="_blank">
<img src="http://hernewleaf.com/files/facebook.png"></a>

Continue adding links and images until you have added all of the buttons you want! Make sure you test all your links because one incorrect character is all you need to send your readers to the wrong place!

Enjoying the Primp My Blog series so far? Consider adding my button to your blog!

{ 301 comments… read them below or add one }

materac dmuchany December 14, 2014 at 3:46 pm

Pretty portion of content. I just stumbled upon your weblog and in accession capital to claim that I acquire actually loved account your blog posts.
Any way I will be subscribing in your feeds and even I fulfillment you get entry to persistently rapidly.
materac dmuchany recently posted..materac dmuchanyMy Profile

Reply

Preston December 18, 2014 at 2:37 am

Terrific post however , I was woindering if you could write a
litte more on thyis topic? I’d be very thankful if you
could elaborate a little bit further. Many thanks!
Preston recently posted..PrestonMy Profile

Reply

install games on pc December 20, 2014 at 12:26 am

There’s definately a lot to learn about this subject.
I really like all of the points you’ve made.
install games on pc recently posted..install games on pcMy Profile

Reply

Leave a Comment

CommentLuv badge

{ 22 trackbacks }

Previous post:

Next post: