This topic contains 2 replies, has 2 voices, and was last updated by jznash 8 years ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘CSS to change placeholder text color’ is closed to new replies.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › CSS to change placeholder text color
This topic contains 2 replies, has 2 voices, and was last updated by jznash 8 years ago.
Hi, love the plugin!
What is the CSS to change the color of the placeholder text?
Thanks,
Josh
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,Perfect, thanks!
The topic ‘CSS to change placeholder text color’ is closed to new replies.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |