WordPress.org

Support

Support » Themes and Templates » Formatting Sidebar categories

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.

    http://www.jdubblog.com

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • display: block; is the culprit.

    I’ve tried a bunch of alt’s to display:block…nothing seems to work… any tips on exactly what chages to make…

    the “(#)” doen’t appear to be in any within the same ul or li as anything else so it’s kinda hard to format.

    Where would I find the function file to just modify it so the numbers ae included in the same format at the category…is that possible???

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting Sidebar categories’ is closed to new replies.