1

Topic: [request] colored user TITLES

well i have got colored user names, but i was woundering, is there any way to make colored user titles?

2 (edited by cherry1499 2005-06-30 12:02)

Re: [request] colored user TITLES

Hi,
its simple...

open viewtopic.php
replace

<dd class="usertitle"><?php echo $user_title ?></dd>

with

<dd class="usertitle"><font color="#ffff00"><?php echo $user_title ?></font></dd>

That color is an example....  U can use what u want for #ffff00...
That's all...

Greetings
Michaela

3

Re: [request] colored user TITLES

<dd class="usertitle"><font color="#ffff00"><?php echo $user_title ?></font></dd>

Very bad to use FONT tag ...

but CSS is magic ... you can "cumulate" the classes ... for example


see if the class usertitle has no color ...


create a new class

.colorofyourchoice {
    color : colorofyourchoice
}

and do this after

<dd class="usertitle colorofyourchoice"><?php echo $user_title ?></dd>

but the simplest solution is to add a color in the "usertitle" class. Simply.

4

Re: [request] colored user TITLES

is it possible to make different colored titles for different users?
like user groups have differentl color usernames, is it possible to do same with titles, so the titles are different colors?

Re: [request] colored user TITLES

The best thing to do is a little re work on the Colored User Groups mod by Mediator.

6

Re: [request] colored user TITLES

ok. i will have a look at the user group mod and try to edit it for color user titles when i get home then.