Forms: Change the color of the example words in a field box

  • lmoniqueimage
    Asked on August 7, 2022 at 9:41 AM

    Hello,

    How do I change the color of words written as an example in a field box. Currently, it is the color orange and I would like to change it to a dark grey. Please see screen shot

    Latrice

    Jotform Thread 4241837 Screenshot
  • Joram_Perucho Jotform Support
    Replied on August 7, 2022 at 10:07 AM

    Hi Latrice,

    Thank you for contacting Jotform Support. There is no direct control on how to change this, but it can be adjusted via coding. Kindly type in the code below.

    1659881115 62efc69b40b87 css code from o Screenshot 10

    You may change '#545454' to your preferred color code when you inject your custom CSS code.

    Give it a try and let us know if you need any other help.


  • lmoniqueimage
    Replied on August 7, 2022 at 10:18 AM

    Hello Joram,

    2 things:

    1. Is there a way for you to copy and paste that code in the text box so I can copy and paste it correctly into the CSS box?
    2. I have another CSS code currently in the CSS box. Do I need to delete it or can I add it to the next line? See below:

    1659881895 62efc9a70901a Screenshot (133 Screenshot 10


  • Myla JotForm Support
    Replied on August 7, 2022 at 10:28 AM

    Hello Latrice,

    Thank you for reaching back to us. You can copy and paste this on your CSS Box:

    #id_234 input::placeholder, #id_225 input::placeholder, #id_5 input::placeholder {
      color: #545454 !important;
    }

    For the one defaulted in your CSS Box, you can clear it and paste the new CSS codes for your desired design for your form. Also, here is a guide on How to Inject Custom CSS Codes that may help.

    Give it a try and reach out again if you have any other questions.



  • lmoniqueimage
    Replied on August 7, 2022 at 3:57 PM

    Thank you