Forums › Forums › Search & Filter Pro › change color input field
Tagged: color input, field
- This topic has 8 replies, 2 voices, and was last updated 5 years, 10 months ago by Trevor.
-
Anonymous(Private) February 12, 2019 at 12:17 pm #201954
good morning,
I’m trying to change the color of the placeholder and the background of the “input.sf-input-text” field, but it does not take my code.
code:
input.sf-input-text{ background-color:#f2f2f2; color:#00bf95; }
here is the test page I’m working on:https://www.riplove.world/aaa/
thanks
Massimo ScolariAnonymous(Private) February 12, 2019 at 1:38 pm #201990thanks Trevor you are very kind ….
can I ask you one last thing?
if you look at the page and the drop-down fields when you go over an item with the mouse, the background of the entry turns blue.
What code do I need to add in order to change the blue color?
that’s all
thank youTrevor(Private) February 12, 2019 at 2:16 pm #202010Ah. THAT is set by the browser. And the code to ‘fix’ it varies according to browser and browser version.
It is better to use the Select2 V4 script and then style that. This post explains how:
https://support.searchandfilter.com/forums/topic/how-can-i-customize-the-form-with-css/#post-199584
Anonymous(Private) February 12, 2019 at 2:44 pm #202017it does not change the color of the placeholder: field input text “name”
form input[type="text"].sf-input-text { background-color:#68001d; color:#ffffff; }
see page: https://www.riplove.world/aaa/
-
AuthorPosts