The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
Quote:
in the forum display template would you happen to know the code I would need to enter? |
#4
|
||||
|
||||
Real basic....
HTML Code:
<if condition="$forumid == x"> <style type="text/css"> yourclass {background: pink;} </style> </if> |
#5
|
|||
|
|||
hmmm tried it and seemed not to work?
|
#6
|
||||
|
||||
*Exactly* what did you put and where?
|
#7
|
|||
|
|||
well to test it I just tried to put it on the top of the forumdisplay
<if condition="$forumid == 1"> <style type="text/css"> yourclass {background: pink;} </style> </if> |
#8
|
||||
|
||||
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.
|
#9
|
|||
|
|||
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> |
#10
|
|||
|
|||
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!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|