How to change the colour of placeholder text?

  • Profile Image
    davidgrayvideos
    Asked on December 28, 2016 at 12:44 PM

    I looked and studied but cannot help myself. Can you please let me know how do I change the colour of the text which is highlighted in a textbox before a user inputs any characters.

    I have text boxes with pre-filled text displayed within, which offers a hint of what users should input. I can change the text box background the text colour of users input but I cannot change the text hint displayed within the box. Currently it is displayed as grey. Any ideas?

  • Profile Image
    AIDAN
    Answered on December 28, 2016 at 01:01 PM

    Hi, thank you for contacting us.

    I examined your custom CSS code and found that you have the color of these placeholders set to white. You can alter that anytime you like by finding these rules in your injected custom CSS:

     

    ::-webkit-input-placeholder {

        color : white;

    }

     

    :-moz-placeholder {

        color : white;

    }

     

    If you need further assistance please let us know. Thank you.