Skip Navigation

[Question] dynamically change background?

i haven't been able to figure out how to dynamically change the background in response to things happening in the generator. i've tried both changing the background color based on a random generation, and using the background-image plugin to add a background image and changing the image to be used based on a random generation. i haven't gotten either to work yet.
if there's any way to make either or both of those work it would be a big relief. thank you in advance for answering! :0

1
1 comments
  • Here is an example generator from the background-image-plugin that allows for randomized background. If you need it to be a specific background depending on another variable, you can add Dynamic Odds on the image URL list.

    For the background color, it is a little bit more complex with CSS. I could whip up an example if you still need it.

    EDIT: Here is the demo generator for the random background color.