Change the Color of the Placeholder

  • Profile Image
    HeatherWalk
    Asked on November 06, 2016 at 12:25 AM

    Attempted to change placeholder color in Text Area with this JotForm recommended code that works in the editor but not in the preview or in the major browsers. Is there an updated code?

     

    *::-webkit-input-placeholder {

       color: #93bcd4;

    }

     

    *:-moz-placeholder {

       color: #93bcd4;

    }

     

    *::-moz-placeholder {

       color: #93bcd4;

    }

     

    *:-ms-input-placeholder {

       color: #93bcd4;

    }

     

     
  • Profile Image
    BDAVID
    Answered on November 06, 2016 at 11:19 AM

    I checked your embedded form, and the desired color shows up:

    Let us know if you need more help.

  • Profile Image
    HeatherWalk
    Answered on November 06, 2016 at 12:59 PM

    Thanks for checking but by next morning I found the solution posted by another colleague. The missing code was:  .form-textarea {color: #93bcd4 !important; }

  • Profile Image
    Nik_C
    Answered on November 06, 2016 at 03:43 PM

    Thank you for getting back to us and for providing your solution.

    If you have any further questions please let us know.

    Cheers!