WordPress.org

Forums

How to bold main categories? (3 posts)

  1. gkogko
    Member
    Posted 8 years ago #

    Hi!<br>
    I have a WP blog. I have this template http://themes.wordpress.net/columns/2-columns/3323/green-valley-10/
    How can I bold my main categories (parent categories)?
    <br>
    I've tried to add this code to style.css:

    /* BEGIN NAVIGATION
    ----------------------------------------------------------- */
    #categories ul {
    list-style: none;
    }

    #categories ul li {
    font-weight: bold;
    }

    but it doesn't work :(
    <br>
    Please help me.

  2. JeremyVisser
    Member
    Posted 8 years ago #

    You shouldn't be using #categories, as that theme uses: .categories

    .categories ul li {
        font-weight: bold;
    }

    Plus, to unbold the children:

    .categories ul li li {
        font-weight: normal;
    }
  3. gkogko
    Member
    Posted 8 years ago #

    Wow! It works and it looks great now! Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic