how to change the background color for a text box ? | XM Community
Solved

how to change the background color for a text box ?

  • 23 October 2018
  • 2 replies
  • 227 views

I am trying to change the background color for a text area, I put in the custom code as
.Skin #textArea
input[type=text] {
background-color : #ffffff;
border-radius: 2px;
border: solid 1px #696b6d;
}
icon

Best answer by Sree 24 October 2018, 15:27

View original

2 replies

Hello @Sree

Instead of #TextArea use `.InputText,`

Use the below code

.Skin .InputText,
input[type=text] {
background-color : #ffffff;
border-radius: 2px !important;
border: solid 1px #696b6d !important;
}
Thank you, its not working though, I spoke to the support and they mentioned the best thing to get this done is via theme. need to raise a request for the same.

Leave a Reply