How to Add Images or Icons to Sidebar Links in Blogger Blog



 Another template customization post here. You can easily change the images to the side bar links as you can see on the ride sidebar links ( Stars ).

You need to edit your HTML code for this. Lets begin.



Step 1:

Choose some image that you want to appear before links in the side bar. You can search some good icons at Freeiconsweb. You need to make the image to about (9 px) x (9 px). To resize image you may use resize2mail or you can use any other image editor like paint / paint.net.

Then upload your image to and image hosting site like Imageshack. You will be needing the link of the image later on.

Once your image is ready, Go to Desgin >> Edit HTML
And tick the check box.

Click To Enlarge

Step 2:

Search for this code:


       .sidebar ul {
       list-style:none;
       margin:0 0 0;
      padding:0 0 0;
      }
     .sidebar li {
     margin:0;
     padding:0 0 .25em 15px;
     text-indent:-15px;
    line-height:1.5em;
    }


And replace this code with the one below:

.sidebar ul {
list-style:none;
margin:0 0 1.25em;
padding:0 0px;
}

.sidebar ul li {
background:url("URL OF IMAGE FILE") no-repeat 2px .25em;
margin:0;
padding:0 0 3px 16px;
margin-bottom:3px;
border-bottom:1px dotted $bordercolor;
line-height:1.4em;
}



Replace the " URL OF IMAGE FILE" with the link of your image.
If you dont want the dotted lines between the links, you can remove


border-bottom:1px dotted $bordercolor;



Thats all ! Hope you like this styling.
If you haven't removed the Blogger Navigation bar you can read How to remove blogger Navigation bar and make your blog more professional looking :)

Cheers!

COMMENTS

.
Name

AdSense affiliate marketing Announcement AskHassam Blogger Blogging Tips Blogosphere News Bluehost Building Traffic BuySellAds Contest Customizations Disqus Tutorials Domain Hosting Drop Down Menus eBook Email Marketing Facebook Tutorials Feedburner Freelancing Giveaway Google Google Analytics Google Gmail Google Plus Tricks Guest Post HowTo Interview Making Money Online Monetization Motivation PayPal Pinterest Plugins review SEO Slideshare Social Media Top Lists Twitter Wordpress YouTube
false
ltr
item
BloggingeHow | Making Blogging Simpler: How to Add Images or Icons to Sidebar Links in Blogger Blog
How to Add Images or Icons to Sidebar Links in Blogger Blog
http://2.bp.blogspot.com/-YAkllKER8PE/TfM4LIFvWnI/AAAAAAAAASM/dTmgCnRF7ps/s320/stars.png
http://2.bp.blogspot.com/-YAkllKER8PE/TfM4LIFvWnI/AAAAAAAAASM/dTmgCnRF7ps/s72-c/stars.png
BloggingeHow | Making Blogging Simpler
http://www.bloggingehow.com/2011/06/how-to-add-images-or-icons-to-sidebar.html
http://www.bloggingehow.com/
http://www.bloggingehow.com/
http://www.bloggingehow.com/2011/06/how-to-add-images-or-icons-to-sidebar.html
true
5839591175544873606
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy
Resources

Tools of the Trade