I've gone through the tutorials and I've gone through the API and I can't for the life of me figure out how to change the page background on hover. My background id is page, but in the OnHover function it is telling me that neither .src nor .background are available options. I don't really know Javascript at all, though I'm reasonable at C#. I've looked for tutorials on YouTube and Google and can't find anything. I'm basically trying to recreate this effect (https://www.camposanto.com/). Any ideas?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
I did eventually find a way after trawling through many forum posts:
$w("Document")...
...seemed to do the trick.
As far as i'm aware you can not change the background with wix code. You can however place an image or colored shape layered on top of your background and change that with code