You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For frontend programers it would be great to have in the body the class with the role to be able to modify the theme depending the role.
I can make a subtheme, but it would be very helpful if it was incorporated in the IOMAD themes.
The IOMAD themes are basically clones of the core Moodle themes with (small) changes to make the per tenant CSS/Logos/etc work. I wouldn't want to migrate away too much from the Moodle ones as it will cause issues in keeping up with their new versions.
Sub theme would be my suggestion to you till Moodle implements it in core.
Hello and thanks for IOMAD,
For frontend programers it would be great to have in the body the class with the role to be able to modify the theme depending the role.
I can make a subtheme, but it would be very helpful if it was incorporated in the IOMAD themes.
Here are how to make that
https://stackoverflow.com/questions/64079136/create-css-classes-based-on-user-role#69648156
https://moodle.org/mod/forum/discuss.php?d=411341
I hope is interesting to you.
The text was updated successfully, but these errors were encountered: