Resource icon

Add user id class to user links 1.0

No permission to download

Arty

Well-known member
#1
Arty submitted a new resource:

Add user id class to user links - Adds user-{id} to user name links

This simple add-on adds .user-{n} class to username links, making it easy to add custom CSS for certain users without adding them to separate user group.

Installation:
  • Upload files from library/ to library/
  • Install add-on
Usage: add something like this to extra.css
Code:
.username.user-1 {
    color: red;
    font-weight: bold;
}
Change 1 to correct user id
Read more about this resource...
 

Arty

Well-known member
#4
Those links are a bit more complex and require additional rule:
Code:
.username.user-1 .style3 { color: red; }
Change 3 .style3 to id of user group that creates that red color.
 
Top