WordPress.org

Ready to get started?Download WordPress

Forums

Formatting Sidebar categories (3 posts)

  1. jwwceo
    Member
    Posted 7 years ago #

    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

  2. Kafkaesqui

    Posted 7 years ago #

    display: block; is the culprit.

  3. jwwceo
    Member
    Posted 7 years ago #

    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???

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.