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.

Text colors and text field colors

  1. I am using GF on 2 different wordpress websites that have black backgrounds. The issue is getting the text field colors and the text colors right.

    No matter what I have tried with the adjustments on the theme or within the forms seems to fix the issue so I need help. I know it is simple but I am not a coder so Im at a loss. One of the sites is http://www.eaglewindmusic.com Click on the contacts form and you'll see the issue. Part of the form has a black background and white text and the other has a white background and grey text. Id like all the text field backgrounds to be black with white text for this site. Actually if you can help me with this one it will work on the other site as well.

    Thanks

    Posted 13 years ago on Monday March 12, 2012 | Permalink
  2. Try adding this snippet to the end of your theme's stylesheet…usually the style.css file. It worked fine in my test.

    [css]
    body .gform_wrapper .gform_body .gform_fields .gfield input[type=text],
    body .gform_wrapper .gform_body .gform_fields .gfield input[type=url],
    body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel],
    body .gform_wrapper .gform_body .gform_fields .gfield input[type=email],
    body .gform_wrapper .gform_body .gform_fields .gfield input[type=password],
    body .gform_wrapper .gform_body .gform_fields .gfield input[type=number],
    body .gform_wrapper .gform_body .gform_fields .gfield select,
    body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    	color: #fff;
    	background-color: #000
    }

    test screenshot: http://bit.ly/ACWfX9

    Posted 13 years ago on Monday March 12, 2012 | Permalink