Custom Bullets Using CSS - Personalize Your Blog

Almost every blog design uses unordered lists to display the different items in the sidebar. By default unordered lists have only three different types of bullets (disc, square and circle) which are not very good looking to the eye. By using custom bullets you can make your blog design unique and more appealing to your site’s visitors. :)

How To Use Custom Bullets

For using custom bullets you need to add a bit of CSS to your blog’s stylesheet.

Blogger users can add the following code bits just before the ]]></b:skin> tag and Wordpress users need to add the following code at the end of their template’s style.css file.

1. Disable the default bullets

The code is as following :

ul { list-style:none; margin:0 0 0; padding:0 0 0; }

The above code disables the default bullets and also makes indentations set by your template (if any) zero.

2. Add The Custom Bullets

The code is as follows:

ul li { background:url(arrow_right.png) no-repeat left center; padding-left:20px; margin-bottom:10px; }

Replace the url field with the location where you have placed the image to be used as bullet. To move the bullet up or down to align with the text properly, replace center in the above code by custom values (use 1px, 2px etc. and see which value works better).

For example,

background:url(arrow_right.png) no-repeat left 1px;

You can also increase the padding and margin values in the code above to space the individual items in the list a bit more elegantly.

Save your template and exit. View your blog, you should now have custom bullets in your blog. ;)

Some Custom Bullets For Use

In case, you are wondering where you can get good bullets, then your problem is solved. :D Here are some icons from the fabulous famfamfam silk icons pack which you can use for your blog.

Bullet 1 Bullet 2 Bullet 3 Bullet 4 Bullet 5 Bullet 6 Bullet 7 Bullet 8 Bullet 9 Bullet 10

Just right click on the bullet you like and save. :D

8 comments ↓

#1 Nirmal on 05.30.07 at 9:49 am

Nice tutorial, will be helpful for my theme design. :-)

#2 Manas on 05.30.07 at 8:02 pm

:)

#3 Links for 2-June-2007 : -| Life Rocks ! 2.0 |-Technology, Internet, Blogging, Life and Thoughts on 06.02.07 at 12:33 am

[...] Custom Bullets Using CSS - Personalize Your Blog - by Manas [...]

#4 Jennifer on 06.02.07 at 2:44 am

This is an easy method. Thanks for posting it.

#5 Manas on 06.02.07 at 8:43 am

Glad to know it helped you. :)

#6 Shankar Ganesh on 06.02.07 at 9:11 pm

Nice one. Giving attention to minute details makes you a good designer :)

#7 Manas on 06.02.07 at 9:29 pm

Yup, its all about personalising your blog which will make it stand out in the crowd. ;)

#8 Blog Drive-Bys for 2007-06-06 - Untwisted Vortex on 06.06.07 at 12:28 am

[...] I did a search and came across a blog that explains how to change your dots to image bullets at ManasT.com. Not only did I find out what CSS properties to look at, but I also found out where to get some [...]

Leave a Comment