General developer forum

Picture of Brian Peat
Re: Is there a way to add the users role to the body wrapper?

I do know what Roles are, and I'm using them more and more for different blocks. I'm not sure what my original issue was that brought up this post, but I think I wanted to load some custom css based on a role. The only way I can think to do that now would be to stick it in a custom block set to only appear for that role and then hide the block itself with css.

Average of ratings: -