Button Colour changing after click

Anyone know why a button should stop displaying it’s background colour after clicking it?

This is the button when first displayed

And This is it after it’s been clicked

This only happens on the sign-in button that displays a modal containing the sign-up form. The other button is a link to another page and does not exhibit the same behaviour.

I presume you have checked the custom class and in particular the visited state. That looks like the opacity may be set at 0%.

1 Like

Browser inspector will tell all.

Thanks for the replies - you got me on the right track. It seems that the colour setting for the focus state in the button’s custom class is the one I needed to change.