Skip navigation
All Places > Support > Documents
Log in to create and rate content, and to follow, bookmark, and share content with other members.

Change the font color of form Field

Document created by Jamie Carey on Dec 30, 2014Last modified by 9588451ecc601f1a2620c0a3338f73ddec06dbf4 on Jan 21, 2015
Version 2Show Document
  • View in full screen mode

Issue:

You've changed the color of the label for your form to white, but because of the background of the form matches the input color you can no longer see information as the form is filled out.


Solution:

Change the font color of just the input values. Add the following style to a custom HTML block in the landing editor.
Depending on what types of fields you have in your form all or some of the lines will apply.

This changes the font on the input fields black , for the case of the labels being set to white(for example)

<style>
form.lpeRegForm ul select {
    color: black;
}
form.lpeRegForm ul textarea {
    color: black;
}
form.lpeRegForm ul input[type="text"] {
    color: black;
}
</style>

Attachments

    Outcomes