The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Using css code to a specific user

View previous topic View next topic Go down

Using css code to a specific user

Post by Ahmed.K on December 3rd 2012, 1: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 December 3rd 2012, 3:17 am

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 December 3rd 2012, 5:20 am

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 December 3rd 2012, 11:38 am

it should change the member color of name?

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 December 3rd 2012, 4:04 pm

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 December 7th 2012, 2:40 am

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.

EverEffects
Forumember

Posts : 105
Reputation : 1
Language : English

Back to top Go down

View previous topic View next topic Back to top


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