Title: Custom Category CSS/Template
Last modified: August 18, 2016

---

# Custom Category CSS/Template

 *  Resolved [bsm0f0](https://wordpress.org/support/users/bsm0f0/)
 * (@bsm0f0)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/custom-category-csstemplate/)
 * I’m trying to set a category up to display a custom header image and change the
   color of the hyperlinks on the given category. I’ve managed to get the sidebar
   working, but as far as the content and the header, no luck. I’ve read the codex
   and browsed the forum but can’t find a definite answer. Is there a way to tell
   wordpress if the post is in category-x then pull x-header and x-css-class/id,
   well ideally just the css as everything is in there (img url, etc) … though I
   could use a footer change?
 * Like I said, I’ve read over the codex and it looks like setting up category-x.
   php etc will change the layout, but not the header image or link color … am I
   right or wrong? And can what I’m asking be done?
 * Thanks for the help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/custom-category-csstemplate/#post-479686)
 * Yep, it can be done.
 * As you alluded, you want to start with [Category_Templates](http://codex.wordpress.org/Category_Templates).
   And if you can’t get enough from that, search here in the forums for that should
   find you some examples.
 *  Thread Starter [bsm0f0](https://wordpress.org/support/users/bsm0f0/)
 * (@bsm0f0)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/custom-category-csstemplate/#post-479756)
 * Arg, for some reason after I read your post HandySolo it all clicked =/ I blame
   it on Theraflu …
 * I found a few posts from Moshu which pointed me in the right direction, thanks
   for the help!
 * One of the posts:
    [http://wordpress.org/support/topic/35194](http://wordpress.org/support/topic/35194)
 * And the Forced Category Template plugin:
    [http://txfx.net/code/wordpress/force-category-template/](http://txfx.net/code/wordpress/force-category-template/)
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/custom-category-csstemplate/#post-479760)
 * VERY nice to point others where you got the help, thanks! Could you mark this
   as resolved then? (And good luck with your flu….)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom Category CSS/Template’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/custom-category-csstemplate/#post-479760)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
