Log in

View Full Version : Need some help with Sub-Category styling


briansol
04-25-2006, 02:41 PM
Hi all,

I'm working on skinning my site to my liking, and I've run into a bit of a jam.

I have a category which holds no forums-- just 3 sub categories which have forums in them.

Thus, it turns into an ugly purple blob.

So, the idea was to make these sub categories on the forumhome look somewhat like a normal forum would.

The subcat descriptions are placed in <td class="tcat" colspan="4">.

Since VB doesn't use an active ID attribute per forum, I have no way to target this other than

td.tcat + td.tcat { }

Which works fine..... except, now it screws up the second column for everything else that uses 2 category headers (like iTrader, Profile, etc).

Anyone have a suggestion on how to style this sub cat with would messing up the rest of the site?

Idealy, I would like to give sub cats a different classing. But I don't think it's possible, as its just another forum that happens to have a prent forum.

Thanks for any advice.