By default the text color of placeholder of any form in wordpress is lightgrey, but sometimes to match with the theme we need to change its color. To change the color of input placeholder we need to use css tricks.

::-webkit-input-placeholder {
color: yellow;
}

:-moz-placeholder { /* Firefox 18- */
color: yellow;
}

::-moz-placeholder { /* Firefox 19+ */
color: yellow;
}

:-ms-input-placeholder {
color: yellow;
}

place the above code in .css file and save.We need to change the input color for each browser thats why we use separate code to point to different browsers.

LEAVE A REPLY