Forum Discussion
Can we change background color in Modern Player - Storyline 360
Hi td,
I did a quick experiment and it seems you can. It depends on what you want to change. The following code will change the player border to red at the top graduating to yellow at the bottom:
$(".top-ui-bg").css("background-image", "linear-gradient(red, red");
$(".area-primary").css("background-image", "linear-gradient(red, yellow")
The top line defines the gradient for the top bar to just red, hence both colours are red. The second line changes the sides and bottom bar from red gradually to yellow. You can use Hex colours if you want.
The Linear-Gradient tag seems fairly flexible, you can set direction, more colour stops etc. See this page for more information on syntax:
https://www.w3schools.com/css/css3_gradients.asp
Hope this helps a little