Change button hover color - Forms 2.0 | Community
Skip to main content
Benjamin_Ortiz1
Level 4
Feb 17, 2014 6:01 PM UTC
Solved

Change button hover color - Forms 2.0

Anyone know how to change the hover button color in Forms 2.0?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Delinda_Tinkey1
Delinda_Tinkey1Accepted solution
Level 5
Jun 12, 2014 7:38 PM UTC
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>

16 replies

Oct 16, 2015 2:34 PM UTC

Worked!

Translate
Sep 2, 2014 5:48 PM UTC
Delinda - Thanks for this!!!!
Translate
Hiram_Cruz
Level 2
Jun 26, 2014 10:33 PM UTC
It works !  Thanks Delinda ;) 
Translate
Delinda_Tinkey1
Delinda_Tinkey1Accepted solution
Level 5
Jun 12, 2014 7:38 PM UTC
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>
Translate
Level 7
Jun 19, 2017 2:12 PM UTC

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

Translate
Tom Kerlin
Delinda_Tinkey1
Level 5
Jul 7, 2017 7:04 PM UTC

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!

Translate
Hiram_Cruz
Level 2
Jun 11, 2014 11:27 PM UTC
Still haven't figured this out....
Translate
Jun 11, 2014 11:13 PM UTC
Anyone figure this out? 
Translate
Apr 21, 2014 10:47 PM UTC
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.
Translate
Hiram_Cruz
Level 2
Mar 28, 2014 9:09 PM UTC
still no luck  : / 
Translate
Mar 28, 2014 8:16 PM UTC
Has anyone had any luck with this?
Translate
Benjamin_Ortiz1
Level 4
Feb 24, 2014 2:35 PM UTC
No luck here
Translate