![]() |
Different Background colors per forum?
I was wondering what I need to do to have different background colors per forum ids?
if possiable- or even change the colors of the different modules I have for cmps. |
Several ways to do it
- Get the class, and add a line in the FORUMDISPLAY template to change the background for the class. - Use a plugin and add the background for the class. - Use a different style for that forum. |
Quote:
in the forum display template would you happen to know the code I would need to enter? |
Real basic....
HTML Code:
<if condition="$forumid == x"> |
Quote:
|
*Exactly* what did you put and where?
|
Quote:
<if condition="$forumid == 1"> <style type="text/css"> yourclass {background: pink;} </style> </if> |
You can't just put that at the top of FORUMDISPLAY. It needs to go within the <head> tags. Also, I told you to find the class you need to change. I *know* it is not called "yourclass" So, there is no way that will work if you don't put in a valid class.
|
Quote:
ok not sure if this is right but its not working. couldnt fit all the code but here is where I put it in forumdisplay <if condition="$forumid == 110"> <style type="text/css"> .forumdisplay{color: pink;} </style> </if> |
1 Attachment(s)
This is something I still need to figure out- can some one help me a bit more- I have attached a picture of what im wanting to do.
I have my site set up similar to here-vb.org and and I want each seperate cat of forums to have a different color - I think it is the tcat class? same thing with in the threads them self too. my site www.SXS411.com still have a bunch of stuff still need to be done but trying to get a few of the little things done Thanks!! |
All times are GMT. The time now is 11:15 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|