PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Hover over input button

  1. David Garden
    Member

    I have a gravity form that is paginated and I'd like to be able to change the background colour of the input button so that when a user mouse's over the button it changes colour.

    The current ID of the input button is #gform_next_button_5_56 and I've tried setting #gform_next_button_5_56:hover { background-colour: #green; } but nothing happens.

    What am I doing wrong?

    Thanks for any help!

    Posted 12 years ago on Monday April 2, 2012 | Permalink
  2. David Garden
    Member

    Oops, sorry I seem to have figured out my own problem.

    I used the button class and I used #66CC33 instead of #green and it seems to work.

    Posted 12 years ago on Monday April 2, 2012 | Permalink
  3. Correct, if you use "green" instead of a HEX value, you would not need the # in front of it. Glad you got it working.

    Posted 12 years ago on Monday April 2, 2012 | Permalink

This topic has been resolved and has been closed to new replies.