How can I change the color of the text within a textbox?

  • royalfamilychurch
    Asked on April 13, 2018 at 7:35 PM

    How do I change the color of the text inside the box of a text field.


    Name: Peter (How do I change Peter to a different color)

  • Support_Management Jotform Support
    Replied on April 14, 2018 at 4:47 AM

    You can use CSS to modify the color of the text inside a textbox. However, you need to be more specific if you only want it for the name field, or all textboxes in general.

    If it's for ALL textboxes, add these CSS codes to your FORM BUILDER:

    .form-textbox {

        color: red !important;

    }

    Complete guide: How-to-Inject-Custom-CSS-Codes

    Result:

    How can I change the color of the text within a textbox? Image 1 Screenshot 20

    If it's for a specific field, you would need to use the #ID of the field as the CSS selector.

    Related guide: How-to-Find-Field-IDs-and-Names

    We can also help you with the codes you need if you can tell us which field needs to be adjusted.