I haven’t done this yet but I’m interested in how you did this.
This is what I did to get the different style for each category:
http://wordpress.org/support/topic.php?id=27365
No one has explained how to apply this throughout, but perhaps becaus eno one has done it and this is a new, still early addition and so perhaps it hasn’t fully been explored.
My theory is creating a seperate archives.php template for each related category and within that call the the style for that category. That I think, in theory shoudl work, because when you click on an individual post they are clicking in to the archives.
Mind giving a run down of how you did your work, and perhaps a look at yoru site to see it in action? I’ve sort of implemented this myself, but as I say in my own post I created a seperate header.php, category.php and css for each category. DO you have an easier solution?
Cheers
I thought about trying to use different style sheets, the way you did, but then ran into the same question you did, of how to load them. Alas, I was less motivated than you and so gave up on trying to solve the problem. Your solution is cool, though.
The change that I need is very simple, I just want to change the absolute position of a particular layer. Under 1.2, I used an If statement to determine when I was looking at a single entry, then checked the entry’s category ID. If it was category 26, then I defined the position of the layer different from what I did on all the other pages.
Here’s my site:
http://www.completedigitalphotography.com
That bar on the right that includes the ads, I need to move of it when looking at any entry from the Gallery category, because I need the extra width to display some images. As I said, defining a category style is very simple, but it’s only working for the display of a list of a particular category. So, if you hit the Gallery button, the alternate style works fine. However, if you click through to one of the individual entries, it goes back to the default.
This was very simple to do, I just duped my base index.php file, renamed it category-26.php, and edited it to use different absolute positioning for the layer in question.