Simple Layout - changing background color of text entry box | XM Community
Skip to main content

I searched and could not find anything specific to the Simple Layout for this question. My question is: how can I change the background color of the text entry box? I am looking to change it to pure white from the current gray color. I inspected the page and am having trouble finding the exact syntax for this change. Any help would be greatly appreciated!

Hello @kbrad,

Below is the code you can use to set the background color of a text box to white:

input[type=password], input[type=text], textarea {
    -webkit-appearance: none;
    background: #ffffff !important;
}

 

Please add this code in the 'Custom CSS' section under 'Look & Feel' > 'Style'. You can refer to the screenshot below for guidance:

 

Let me know if this helps.


Thank you, @Sachin Nandikol. It worked perfectly.


Leave a Reply