Simple Guide to Styling Lists Within Your Posts for Those with Limited Technical Skills

Part seven of: “Stylizing Your Content”.
For this, there is only one file you will be working with:
style.css
You can find this in your WordPress admin under Presentation > Theme Editor - listed on the right hand side.
The ordered list, by default, is fine and generally shouldn’t be changed. It simply lists things by number like so:
- Hello
- this is a
- ordered list
What we will do, is change the unordered list to display an image instead of the usual dot:
- Hello
- this is a
- unordered list
To this:
- Hello
- this is a
- unordered list
Adding a Bullet Image
Let’s open up the style.css file — listed as Stylesheet in your admin — and navigate to the following code:
.entry ul li:before, #sidebar ul ul li:before {
content: "\00BB \0020";
}
What!? Exactly. Pretty convoluted stuff. We don’t care about this stuff though. We’ll just add this little bit of code under the above code:
.entry ul li {
list-style-image: url(images/arrow.png);
}
This simply means, the “list item” within the “unordered list” should display the file called “arrow.png” which exists in a folder called “images” on the server.
So, this of course means: add your image, whatever it’s called, to your images folder in the same directory as your WordPress installation. Make sure your image is small enough, no one likes bullets that are bigger than the text that follows.
Bonus! — Here are a bunch of free bullet images.
Voila!
Image credit: Bob Jagendorf.















{ 5 comments… read them below or add one }
Jay, this will come in very handy for me. I am always on the lookout for css tips, being the tech-challenged type of geek that I am.
Amy’s last blog post..Candling Eggs: a Metaphor for Finding Clients and Working With Them
My pleasure Ms. Manners.
Hehe. Got any other CSS moves for the tech-stupid?
Amy’s last blog post..Don’t Pick Your Nose In Public, and Other Manners Your Mother Should Have Taught You
Did you just call me stupid? Or have I officially integrated dash and comma?
Yeah, of course I do! The whole series associated with this one is full of them: Here.
I’ve got other moves too, but those only show themselves if you ask nicely. ;o)
I meant tech-stupid. The line break got in my way. LOL
Going to read the handbook now…
Amy’s last blog post..Don’t Pick Your Nose In Public, and Other Manners Your Mother Should Have Taught You
Leave a Comment