How to Change Autofill Color | Need CSS Rule
-
Good Day,
Please provide a CSS Rule that will allow us to change the autofill color for the fields “Name“, ” Email“, and others (as applicable) from Yellow to Green (or some other color). Details: https://prnt.sc/RIayEMaEZfJ-
Also, it would be great if you can update your plugin’s settings section Styles and Colors > General Colors to introduce a new settings option titled, “Autofill Color.” Details: https://prnt.sc/1W9tgSn_gjlf
To assist you, we are currently using the CSS Rule provided below to change the autofill color on all of our website forms, but it does not work with wpDiscuz. The CSS Rule works well with all browsers (something to keep in mind).
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 60px #dff0d8 inset!important;
}Thank you!
- The topic ‘How to Change Autofill Color | Need CSS Rule’ is closed to new replies.