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.

Font Changes When Clicking Out Of Field

  1. cordinternational
    Member

    When clicking on a field whatever is entered turns black, but when you click off a field it turns light grey. How can I keep it black at all times?

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  2. David Peralty

    That is a theme issue, you would have to link to your form so we can see it and see what CSS would need changing/overriding to fix this for you.

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  3. cordinternational
    Member

    http://dev.cordinternational.org/contact/

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  4. Richard Vav
    Administrator

    Hello, in your themes style.css on lines 3319 to 3328 you have the following CSS setting the size of the text in the field inputs, edit it and add

    color:black;

    before the closing } bracket

    body .gform_wrapper .gform_body .gform_fields .gfield input[type=text], body .gform_wrapper .gform_body .gform_fields .gfield input[type=email], body .gform_wrapper .gform_body .gform_fields .gfield input[type=tel], body .gform_wrapper .gform_body .gform_fields .gfield input[type=url], body .gform_wrapper .gform_body .gform_fields .gfield input[type=number], body .gform_wrapper .gform_body .gform_fields .gfield input[type=password], body .gform_wrapper .gform_body .gform_fields .gfield select, body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    font-size: 14px;
    }

    That should stop your own themes css from changing the font color to grey.

    Regards,
    Richard
    --
    Just another member of the community helping out where I can

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  5. cordinternational
    Member

    Awesome!! Thank you very much.

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  6. Richard Vav
    Administrator

    You're welcome

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink