Is there a way with Javascript to change the background color based on if a user is logged in?
I want a different background color for the management pages. I can do this with JavaScript and changing the background for all of the scenes that need it, but I need a better way.
Currently, if the page is refreshed, it goes to the default background color.
Wondering if I could base it on if a user is logged in. If a user is logged in, change the background color. If not logged in, leave it as the default color.
On the original post, we are making the background white if a user is logged in. Can we restrict this only to users that have the user role of Admin or Staff?