I'm trying to change the color of an input placeholder
(from white to black) for a search box with CSS and it's not working.
I've tried this method:
input.search-field.fill_inited::-webkit-input-placeholder {
/* Chrome/Opera/Safari */
color: #000000 !important;
}
input.search-field.fill_inited::-moz-placeholder {
/* Firefox 19+ */
color: #000000 !important;
}
input.search-field.fill_inited:-ms-input-placeholder {
/* IE 10+ */
color: #000000 !important;
}
input.search-field.fill_inited:-moz-placeholder {
/* Firefox 18- */
color: #000000 !important;
}
<input type="search" class="search-field fill_inited" placeholder="Search …" value name="s">
The URL in question is: http://pacificlib.design-active.com/oregon-congressman-les-aucoin-library-archives-exhibit/. This is a WordPress site and the search box is in the blog sidebar.
Lastly, I'm also open to a JavaScript solution.