Colour gender in profile postbit?
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #1
Colour gender in profile postbit?
Hi, I would like to have colour profile postbit different: if user is a girl, profile css is pink; if user is a boy, then colour css backgrouf of profile postbit is blue. Is this possible?

During registration users choose if are girl or boy.

Thank you in advance!
11-15-2012 03:50 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Colour gender in profile postbit?
Depends on the value of the girl and the boy in your custom profile field.
If it is a simple girl and boy, you can create trow1/2girl/boy class, then add the {$post['fidx']} after the trow1/2 class in your postbit.
Or, if you use Template Conditional, you can use it to manipulate the class used in postbit.

11-16-2012 04:41 AM
Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #3
RE: Colour gender in profile postbit?
thank you!
11-19-2012 08:46 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: