let backgroundColor = $w('#button11').style.backgroundColor;
let bordercolor = $w('#button11').style.borderColor;
backgroundColor = "orange";
bordercolor = "black";
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
The problem is when in preview mode the code not activating on element $w('#button11').
I type in the above code to change the look of a button that has some text on it.
The root goal was to have the border color set to a sting bold solid black or black.
The background color set to a sting of orange.
Currently, I did not won't to do to much changing I wanted to make sure the simple code changes work first.
Which I do normally in CSS which I can't used in Velo.
I'm missing something somewhere.