Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

User role CSS class on body

Hi!

I need to target several different elements on each page with CSS depending on the user role of the logged in user.

Is there a way to get that info in the default.master.php in my theme? Or add it to the $this->CssClass ?

I tried searching but everything I found was the comment user role plugin, witch I already use.

Thank you!
/ johan

Comments

Sign In or Register to comment.