Support » Fixing WordPress » single category css not working for comments

  • I am implimenting this from the codex:

    http://codex.wordpress.org/The_Loop_in_Action#Different_CSS_For_Different_Categories

    first, I wasnt able to get it working by using “in_category” that was throwing errors with wp 1.5.1.3, so I used the “is_category” like the kubrick sidebar uses and that worked.

    here is the code i’m using in the header.php:

    http://pastebin.com/332415

    But it doesnt work on a comment page in a category, it shows the default css file rather than the category css file… i’ve been doing a of of head-scratching, but am not sure which way to turn – any ideas?

    my site: http://wearecentralpark.com/wp

    the categories can be accessed under the “Navigate” in the sidebar.

    The only CSS i’m changing is for the BG images on the posts… the default style has the orange coloured post BG images, just so you know what to look for.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘single category css not working for comments’ is closed to new replies.