Jan 27, 2025 1:37 am
Hi there,
The CSS Rule you provided here for changing the autofill color of the Name and Email fields contained in Comments works great, but does not work for the Email field contained in the Subscription bar.
Details: https://prnt.sc/9ymDVhahKZFk
Can you kindly provide a CSS Rule for changing the autofill color of the Email field contained in the Subscription bar?
Thank you!
2 Replies
Jan 27, 2025 11:02 am
Hi,
Try this one:
#wpdcom .wpdiscuz-subscribe-form-email:-webkit-autofill, #wpdcom .wpdiscuz-subscribe-form-email:-webkit-autofill:hover, #wpdcomwpdiscuz-subscribe-form-email:-webkit-autofill:focus, #wpdcom .wpdiscuz-subscribe-form-email:-webkit-autofill:active { -webkit-box-shadow: 0 0 0px 1000px #dff0d8 inset; /* Sets the background color */ -webkit-text-fill-color: #000000; /* Changes the text color */ transition: background-color 5000s ease-in-out 0s; /* Prevents browser from resetting styles */ }