Numbers next to Categories
-
Hi
I’m new here so bare with me, I’m using the Tulip theme skin and it doesn’t have numbers behind the categories. I tried using this
<?php wp_list_cats(‘sort_column=name&optioncount=1’); ?>and the categories looked like this:
Books
(6)
Comics
(3)
General
(64) and so on..I also tried changing the display: block; to fixed in the CSS style but it messed everything up, please can anyone help me in this problem? here is the template for my sidebar:
#left { float: left; width: 210px; padding: 20px 10px 20px 10px; border-right: 1px solid #ffe2f1; }
#left ul { margin-left: 0px; padding-left: 0px; font-weight: bold; }
#left ul li { margin-left: 0px; padding-left: 0px; margin-bottom: 20px; list-style-type: none; }
#left ul ul { border-top: 1px solid #ffe2f1; font-weight: normal; padding: 0px; margin: 0px; }
#left ul ul li { border: none; padding: 0px; margin: 0px; font-weight: normal; list-style-type: none; display: block; }
#left ul ul li a:link, #left ul ul li a:visited { display: block; padding: 2px 0px 2px 10px; margin: 0px; background-color: #ffb9df; color: #a2326f; border-bottom: 1px solid #ffe2f1; border-left: 1px solid #ffe2f1; border-right: 1px solid #ffe2f1; text-decoration: none; }
#left ul ul li a:hover { background-color: #ffe2f1; color: #be6897; border-bottom: 1px solid #ffb9df; border-left: 1px solid #ffb9df; border-right: 1px solid #ffb9df; border-top: #ffb9df; font-weight: bold; }
- The topic ‘Numbers next to Categories’ is closed to new replies.