Input Text Color for All Survey Questions | XM Community
Skip to main content

I’ve read through so many posts but none of the css codes seem to work for changing the color of my text input for responses. This is the css I have and the question text and body work find but not the input text.

.Skin .QuestionText {
color:#F8850D;
}

.Skin .QuestionBody {
color:#F8850D;
}

 

.Skin .InputText,
inputptype=text] {
color : #F8850D !important;
}

 

I need my village, please! ☺

Hi @Denise ,

If I understand you correctly you want to change the color of the text input in the fields .
If yes, then you can achieve the same by using below styling:
 

<style>
.Skin .MC .TextEntryBox, .Skin .TE .ESTB .InputText, .Skin .TE .FORM .InputText, .Skin .TE .ML .InputText, .Skin .TE .PW .InputText, .Skin .TE .SL .InputText, .Skin .TE textarea, .Skin input.TextEntryBox, .Skin inpututype=password], .Skin inpututype=search], .Skin inpututype=text], .Skin textarea {
color: red !important;
}
</style>

 I have added classes of most of the text entry type question in Qualtrics.
You can add or remove as per your convenience .
Below is the screenshot of what it looked in my preview:
 

 Hope this resolves your query😊!!


Thank you so much #qualtrics_nerd! I added the MC class and it worked perfectly! Also, I really appreciate you providing the classes. I’m a relative newbie and couldn’t do without the community. So glad you responded. ☺️


Leave a Reply