PDA

View Full Version : diiferent colors for each category head on forumhome


nam6641
11-11-2012, 07:33 AM
hi, want to make a separate colors for each category head, as i can change the colors of all categories head by using css,
.forumhead{
background:#ff0000;
}

but how to set different colors for every category head?

Fongool
11-12-2012, 12:12 PM
Are you talking about the category names?,,,if you are, just use

<b><font color="4ab4ed">CATEGORY NAME</font></b> and this will color the category name whatever color you want. (Put your category name in where I have CATEGORY NAME, and put your color code where I have "4ab4ed")

You can do this from the ACP when you make the category.

F

snakes1100
11-12-2012, 12:26 PM
@Fongool
As your using vb 4, you should use span class, not font tags in the markup.


<span style="color: #f00;">forum name </span>


To answer the OP's question, i dont think you can do the forumhead, ive never seen that done.