I have been trying to figure out how to make this happen but i could not find the right thing to connect to the group of people.
The information i have until now is that i have ID for each group of people, but don’t know how to use it to referred the change to those users in this group.
Also it could also be a connection between the leader of the group, but could not find this connection.
2
Answers
Add to your
<body>
element a class likegroup-idOfGroup
and then create specific CSS rules for that class:So, as per my comment, consider you have a number of permission, you have the id of permissions and you can differentiate the logged in used based on that.
So based on the id, you can add a class name to the root element, in my sample, I added the class
teacher
tobody
, so the background-color will be green and color will be white.Instead of that, you can try other classes also, like
principal, student etc
, so you can change the theme as required.