Do you mean the little boxes on the left Or the really large boxes that actually hold post content?
I’m also assuming you’re talking about the thick blue color border at the top of each box?
as I’m talking about colours, yes I mean the little boxes and the underline that changes according to the category of the post.
And look at the up-left menu, having also the same colours for each category.
Have you checked WordPress theme directory to see if there’s a theme already in existence which can/has accomplished what you’re after?
WordPress Theme Directory
with more than 370 theme, I did not check them all. but from what i saw of the 100 latest there is not.
I have no idea if this will work, but maybe something like:
<div class="<?php the_category_rss();?>">
Filed under: <?php the category() ;?>
</div>
And define your styles to the css as appropriate.
I think this will definately go horribly wrong if you posts are in multiple categories.
Thanks, i’ll investigate this.
“I think this will definately go horribly wrong if you post to multiple categories.”
I thought about that . But it’s not cloning this design that i want and I ‘m not planning to post to multiple categories.
I was thinking of main colours and shades or pastels of these main colours for sub-categories.
It would imply more frequent maintenance of CSS for each change in the category tree but it’s the price to pay, I think.