SOLVED

Change button hover color - Forms 2.0

Go to solution
Benjamin_Ortiz1
Level 4
Anyone know how to change the hover button color in Forms 2.0?
Tags (1)
1 ACCEPTED SOLUTION
Delinda_Tinkey1
Level 5
Putting this CSS in the form 2.0 editor worked for me:

<style type="text/css">

a.button a:hover{
     background: #f47920 !important;
}

button:hover {
    background:#f47920 !important;
}

</style>

View solution in original post

16 REPLIES 16
Anonymous
Not applicable

Worked!

Anonymous
Not applicable
Delinda - Thanks for this!!!!
Hiram_Cruz
Level 2
It works !  Thanks Delinda 😉 
Delinda_Tinkey1
Level 5
Putting this CSS in the form 2.0 editor worked for me:

<style type="text/css">

a.button a:hover{
     background: #f47920 !important;
}

button:hover {
    background:#f47920 !important;
}

</style>
Tom_Kerlin2
Level 8

Hi Delinda,

I'm trying to change the color of my form button so that color changes when my cursor hovers over it, and I tried using this code but no luck - Does this code still work for you?

Let me know,

Tom

Tom Kerlin
Anonymous
Not applicable

This one worked for me:

/* BUTTON HOVER */

.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {

  background:#c35e63 !important;

}

Delinda_Tinkey1
Level 5

We don't use it anymore, but doing a quick test it did not work for me anymore either. I see no difference in the color when I hover. If I recall it used to default to black or something unpleasant, so no hover color is at least better!

Hiram_Cruz
Level 2
Still haven't figured this out....
Anonymous
Not applicable
Anyone figure this out? 
Anonymous
Not applicable
Looking at the source code, the hover color is controlled via an inline style in the form itself. If you set the hover color in the CSS, it's just going to over-ride it with the inline style.
Hiram_Cruz
Level 2
still no luck  : / 
Anonymous
Not applicable
Has anyone had any luck with this?
Benjamin_Ortiz1
Level 4
No luck here
Hiram_Cruz
Level 2
Has not worked for me
Anonymous
Not applicable
Has this actually worked for anyone? I tried to no avail.
Anonymous
Not applicable
Just edit the form css. Using something similar to: 

a.button a:hover{
     background: #383;
}