cancel
Showing results for 
Search instead for 
Did you mean: 

Change the input text area Background Color

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Change the input text area Background Color

I'm trying to change the bgcolor of the e-mail address input text field from yellow color to white color. But unable to change that.

Please suggest a solution.

4 REPLIES 4

Re: Change the input text area Background Color

Try this CSS code for all inputs:

 

input[type="text"], textarea {
  background-color : #d1d1d1; 
}

Or this solution for browser autocomplete backgrounds

https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete

Did you find it helpful? Please give "Kudos" or "Accept as Solution".
Meet 70+ extensions and templates for M1 & M2 in one place


Re: Change the input text area Background Color

Sorry @Swissuplabscom. It's not working for me. 

Re: Change the input text area Background Color

Let's figure out:

* Is that background from your magento theme or it's browser autocomplete?

* Have you checked only 1 browser? Or that color is the same in all popular browsers?

* Please send an URL to the page with such problem

Did you find it helpful? Please give "Kudos" or "Accept as Solution".
Meet 70+ extensions and templates for M1 & M2 in one place


Re: Change the input text area Background Color

Hi @Swissuplabscom.

Checked on the chrome and firefox. For firefox it's fine.

For chrome only, i'm facing this issue.

PFB the screenshot link

https://codeminc-my.sharepoint.com/:i:/g/personal/anand_codem_com/Ebb4oF3byuBFuO8SLe97dZ4BiGUF7bp3Y0...