Reply To: CSS to change placeholder text color

Home Forums Product Support Forums Ajax Search Pro for WordPress Support CSS to change placeholder text color Reply To: CSS to change placeholder text color

#8261

Ernest Marcinko
Keymaster

Hi!

Thanks for your kind words!

To have a different placeholder color, you will need to add the follosing custom CSS code:

input.orig::-webkit-input-placeholder {
   color: #FFFFFF !important;
}
 
input.orig:-moz-placeholder { /* Firefox 18- */
   color: #FFFFFF !important;
}
 
input.orig::-moz-placeholder {  /* Firefox 19+ */
   color: #FFFFFF !important;
}
 
input.orig:-ms-input-placeholder { 
   color: #FFFFFF !important;
}

Just change the #FFFFFF value to the desired color value.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)