Forums

Submit button jumps and changes color when hovering

margknox 01 Aug, 2019
When hovering over the Submit button, the button jumps and the color changes to half the template color and half white. This happens on all my websites. What is causing this please?
healyhatman 01 Aug, 2019
Probably your template. You might have to find the corresponding code in your template's CSS and tell it not to target buttons inside the chronoforms classes.
margknox 01 Aug, 2019
Thank you, healyhatman. I can find the CSS for the button, but how do I tell it not to target buttons inside the chronoforms classes?
healyhatman 01 Aug, 2019
Well that's for V6 actually I don't know v5
margknox 01 Aug, 2019
Not sure where to put it. Tried several places; thought the most likely might be...
.bf-button:not(.ui)
but nothing works.
Tried changing the padding too, but makes no difference.
GreyHead 02 Aug, 2019
HI margknox,

Use your browser web developer tools to check the class of the form and/or the button and you can then add the necessary CSS to over-ride or block the template CSS.

Bob
margknox 04 Sep, 2019
Actually, I used the browser web developer tools before I asked the question.
But I don't know what the necessary CSS to over-ride or block the template CSS is, or how to add it. Where can I get that information?
There's a form at https://supportnetwork.org.au/index.php?option=com_chronoforms5&chronoform=contactcssa
Thank you.
healyhatman 04 Sep, 2019
Just remove the sacsn-button class from your button.
margknox 04 Sep, 2019
Thank you Healyhatman, however that doesn't make any difference. Actually, I'd prefer the template default button.
healyhatman 04 Sep, 2019
Yep you're right. It's actually your template targeting the .button class, so you'll need to remove the bootstrap classes. Just use
button sascn-button
margknox 04 Sep, 2019
Thank you, that does have some effect. It's using the template hover state fully instead of half.
However it's still using the bootstrap button in passive state, and still jumps when changing from passive to hover.
This topic is locked and no more replies can be posted.