The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi, I've setted a new profile field which ask for your gender. Now I would like to change a table color (in my postbit_legacy) depending by this choice.
I've tried to use this code: Code:
<if condition="$userinfo['field20'] == '2'">class="tgender_female"<else /> class="thead"</if> Code:
.tgender_female { background: #FFFFFF url(style/gradients/gradient_tgender_female.gif) repeat-x top left; bgcolor: red; font-color: #FFFFFF; font-style: bold; font-size: 10pt, font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; } Male Female Set Default: None. It doesn't work. Is there something wrong? Can you help me? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|