Viewing 5 replies - 1 through 5 (of 5 total)
  • This should do it.

    #sidebar li.current-cat {
    	font-weight: bold;
    }

    Thread Starter theorganisedhousewife

    (@theorganisedhousewife)

    i’m a novice at css, I tried placing this code in a number of places but couldn’t get it to work. At one stage I ended up bolding everything. I’m just wanting the parent category bold…do you have another suggestion?? Thankyou for your help.

    li.cat-item a {font-weight:bold;}
    li.cat-item ul.children li.cat-item a {font-weight: normal;}

    add it anywhere to style.css – probably best after the sidebar styles.

    the first line sets all categories to bold; and the second line then sets the children back to normal.

    Thread Starter theorganisedhousewife

    (@theorganisedhousewife)

    Thankyou Alchymyth, it worked! Can I push it one step further and slightly indent the children category??

    try to add something like:

    li.cat-item ul.children {margin-left:10px;}

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Bold Parent Category’ is closed to new replies.