the condition is:
there's a wordpress site that has 8 categories, and each category has sub-category, and each subcategory has several posts (and still will be updating/counting) :
- Category A - 8 subcat
- Category B - 5 subcat
- Category C - 4 subcat
- Category D - 3 subcat
- Category E - 2 subcat
- Category F - 1 subcat
- Category G - 5 subcat
- Category H - 4 subcat
The body_class() function is already exist in header, and I want to make
- Each category has different background image and custom header (ex: instead of Browsing the "xx" Category text- i'll be using custom words/image)
- For each single post page belong to certain category, the style is inherit. (i dont know how to explain that on english - but what I want to achieve is: A single post that belong to category A have the same style with Category A archive pages.
I did add:
.category-A
{ /* css here */ }
.category-B
{ /* css here */ }
etc
but for each single page, the styling did not work..
and to tweak single page that belong to category who- I don't know the code.
So... there's pretty much the rough description of my problem, though. Please help :(