Formatting Sidebar categories
-
I want to show the number of posts in my categories. I’ve got them showing up, but they are not formatted correctly. You can check em out here.
I want them to look like this
category (5)
I know this has to do with my style sheet, but I’m not sure where to start.
These are the two entries that I think I need to modify…
#sidebar ul li a {
border-bottom: 1px dotted #666;
color: #99cc33;
display: block;
text-decoration: none !important;
text-transform: uppercase;
margin-left: 0px;
padding-top: 4px;
padding-right: 0px;
padding-bottom: 4px;
padding-left: 25px;
background-image: url(‘images/navbulle.gif’);
background-repeat: no-repeat;
background-position: 10px 50%
}#sidebar ul li ul a {
border-bottom: 1px dotted #666;
color: #99cc33;
display: block;
text-decoration: none !important;
text-transform: none;
margin-left: 0px;
padding-top: 4px;
padding-right: 0px;
padding-bottom: 4px;
padding-left: 35px;
background-image: url(‘images/navbulle.gif’);
background-repeat: no-repeat;
background-position: 10px 50%
}
Thanks!!James
- The topic ‘Formatting Sidebar categories’ is closed to new replies.