How to Change the Color of the Input Text of the Form Fields to Black

  • RandRR
    Demandé le 14 août 2023 à 10:34

    Bonjour,


    Pouvez-vous m'aider svp ?
    J'ai un soucis c'est que je n'arrive pas à faire en sorte que le texte écris par l'internaute soit noir sur blanc lorsqu'il répond. J'ai évidemment essayé en changeant les couleurs de la page / du formulaire / du texte. Mais rien n'y fait.

    Pouvez-vous m'aider à trouver une solution ?

    Merci d'avance,
    Jean-Baptiste

    Jotform Thread 5428189 Screenshot
  • Anna Jotform Support
    Répondu le 14 août 2023 à 11:09

    Hi RandRR,

    Thanks for reaching out to Jotform Support. Unfortunately, our French Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.

    Now, let me help you with your question. We can change the input text of the fields by injecting a custom CSS code. Let me show you how:

    1. In Form Builder, click the Blue Paint Roller icon on the right side of the page.
    2. Go to the Styles tab.

    How to Change the Color of the Input Text of the Form Fields to Black Image 1 Screenshot 30

    3. Inject this custom CSS code. You can check out this guide on How to Inject Custom CSS Codes.

    /* How to change the color of the input text of the form fields - 5428189*/

    .form-textbox, .form-textarea {
    color: black !important;

    }
    .form-sub-label {
     color: black !important;
    }

    /* Ends here */

    
    Check out the screencast below for the result:

    How to Change the Color of the Input Text of the Form Fields to Black Image 2 Screenshot 41

    That's it. Let us know if you have any other questions.

  • RandRR
    Répondu le 14 août 2023 à 11:22

    Perfect Thank you !