Blog

11

How to Bold Your ClassiPress Parent Categories

July 19, 2010 | David | Tips & Tricks

Some of you have been asking us how to make it easier to distinguish parent categories from sub-categories in your drop-down lists. It’s a great question and pretty easy to do.

Here’s what your drop-down lists should look like currently before the change we are about to make:

Drop-down menu before css change

Here’s what your drop-down lists should look like after we make the change:

Drop-down menu after css change

See how the parent categories now stick out and better display the hierarchies? Below you will find the steps you need to take to make this change. Some of you can skip step #1 if you’re already using a custom.css file on your site.

  1. Navigate to your /styles/ directory and rename custom-sample.css to custom.css
  2. Open custom.css in your favorite code editor
  3. Enter the style code below and save
  4. Upload the file to your web site
option.level-0 {
font-weight: bold;
}

All this does is tell your site to bold any level-0 (parent categories) within your drop-down lists.

That’s it. You might need to flush your browser’s cache (Shift + reload in Windows) and/or clear any WordPress caching plugin you are using before the change will show up.

11 Responses to “How to Bold Your ClassiPress Parent Categories”

  1. 1 Comment

    7/10 Joined

    Richard Jul 20, 2010 12:04 am
    customer

    so when can I buy version 3.0.3?

    • 472 Comments

      3.0.3 will be released tomorrow. You can buy now since you get the upgrade for free.

  2. 5 Comments

    7/10 Joined

    Jeff Jul 20, 2010 8:26 am
    customer

    Wow, if it were only this easy to make the parent categories grayed out and not selectable…

    • 472 Comments

      Yeah, I wish it was too! That’s a feature I’d eventually like to add. If it was easy, it would already be an option. Suggestions are welcome.

  3. 5 Comments

    7/10 Joined

    I’m sorry it doesn’t work to me. Just copied into custom.css but nothing’s changed

  4. 1 Comment

    7/10 Joined

    Andre Jul 22, 2010 12:41 am
    customer

    It work fine and I still have 3.0.2.

  5. 12 Comments

    7/10 Joined

    Dorian Jul 25, 2010 11:50 pm
    customer

    This handy idea does not work with the OS X Chrome browser. It won’t render any of the styles assigned to it. Firefox and Safari look good.

  6. 5 Comments

    7/10 Joined

    Jeff Jul 26, 2010 12:40 am
    customer

    Dang, Dorian is right. I concur.

  7. Great ! It makes it all more readable.

    And what do I have to add in custom cssfile if I also want to bold a category beneath it, e.g auto and Boots bold?

Comments are closed.
css.php