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.

[resolved] Change Field Box Colour

  1. gavwebster
    Member

    Hi,

    Firstly I'm so impressed with the ease of setting up a form! How do I go about changing the colour of the data entry field box? It is currently white on the site I am working on and doesn't work with the background colour. Any ideas?

    Thanks.

    Posted 14 years ago on Wednesday July 21, 2010 | Permalink
  2. You can change the color of the inputs this way. You would add a new CSS rule to the end of your theme's style sheet.

    .gform_wrapper input {background-color:#eeeeee;}

    that should change the color of all the inputs in the form, including the radio buttons and checkboxes. If you prefer, you can specify which input types to change.

    .gform_wrapper input[type=text], .gform_wrapper input[type=email], .gform_wrapper input[type=url], .gform_wrapper input[type=phone], .gform_wrapper textarea, .gform_wrapper select {background-color:#EEEEEE;}

    in that example, I left out the radio and checkbox types.

    This might be helpful too as you begin styling your forms.

    http://www.gravityhelp.com/documentation/visual-css-guide/

    Posted 14 years ago on Wednesday July 21, 2010 | Permalink
  3. gavwebster
    Member

    That's great, thanks for your help.

    Posted 14 years ago on Wednesday July 21, 2010 | Permalink
  4. My pleasure. Glad I could help out.

    Posted 14 years ago on Wednesday July 21, 2010 | Permalink

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