Button State Colour Changes

I have a button which has been designed by a graphic designer. When the button is in the default state, it’s background colour should be a gradient.

When the state changes, I want to change the background colour to a solid colour.

In trying to implement this in weweb I cannot get rid of the gradient to allow the solid colour to show through. Is this right or is it a bug?

How can I otherwise implement this colour change when the states change?

Any weWeb staff out there able to help me with this?

Thanks

You need to remove the solid colour from the default state and then change the state to the one you want the it to be on and add it there. When you change something on the default state it also changes all the other states value for that same thing you’re changing.

1 Like

Hey, when in state: hover, you need to set the gradient to “none” by unbind it from the gradient-variable: click the unbind icon next to the gradient, then click the value inside of the gradient, and press delete to have the value of the gradient back to none

Please see below :slight_smile:

CleanShot 2025-08-01 at 15.02.31

2 Likes