Change button hover color - Forms 2.0 | Community
Skip to main content
Benjamin_Ortiz1
Level 4
February 17, 2014
Solved

Change button hover color - Forms 2.0

  • February 17, 2014
  • 13 replies
  • 6906 views
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.
Best answer by Delinda_Tinkey1
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>

13 replies

February 17, 2014
Just edit the form css. Using something similar to: 

a.button a:hover{
     background: #383;
}
February 21, 2014
Has this actually worked for anyone? I tried to no avail.
Hiram_Cruz
Level 2
February 21, 2014
Has not worked for me
Benjamin_Ortiz1
Level 4
February 24, 2014
No luck here
March 28, 2014
Has anyone had any luck with this?
Hiram_Cruz
Level 2
March 28, 2014
still no luck  : / 
April 21, 2014
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.
June 11, 2014
Anyone figure this out? 
Hiram_Cruz
Level 2
June 11, 2014
Still haven't figured this out....
Delinda_Tinkey1
Delinda_Tinkey1Accepted solution
Level 5
June 12, 2014
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>
Level 7
June 19, 2017

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
Delinda_Tinkey1
Level 5
July 7, 2017

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!