Using css code to a specific user

Go down

Using css code to a specific user

Post by Ahmed.K on Mon Dec 03, 2012 11:18 am

Is it possible to use css code to a specific user?

for example:
if user = "Michael"
document.getElementById('pun-info').style.display='none';

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: Using css code to a specific user

Post by PeMLight on Mon Dec 03, 2012 1:17 pm

yes it is possible to use css for a specific user
Example:
a[href="/u23"]{
color: #15ff00 !important;
}

Paste that in your css stylesheet and save
make sure the user isnt in a group, and change where its says /u23 to whatever number the user is..i hope this helped

PeMLight
New Member

Posts : 21
Reputation : 1
Language : english

Back to top Go down

Re: Using css code to a specific user

Post by Ahmed.K on Mon Dec 03, 2012 3:20 pm

What is that? No, I ask about using css code for a specific user.
for example, hide the 'pun-info' block for a specific user. as i posted above.

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: Using css code to a specific user

Post by mmägi on Mon Dec 03, 2012 9:38 pm

it should change the member color of name?
avatar
mmägi
Forumember

Male Posts : 402
Reputation : 3
Language : Estonia

http://royal.forumc.net/

Back to top Go down

Re: Using css code to a specific user

Post by Ahmed.K on Tue Dec 04, 2012 2:04 am

Nobody Knows?

Ahmed.K
Forumember

Posts : 349
Reputation : 4
Language : English

Back to top Go down

Re: Using css code to a specific user

Post by EverEffects on Fri Dec 07, 2012 12:40 pm

You can, example.

Code:
name strong a[href="/u44"]{
color: #yourcolor;
}

#chatbox_members a[href="/u44"]{
color: #yourcolor;
}

.gensmall a[href="/u44"]{
color: #yourcolor;
}

Hope this helped.
avatar
EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum