How to change the color and style of user input text into the text entry field | XM Community
Skip to main content
Solved

How to change the color and style of user input text into the text entry field

  • June 9, 2023
  • 7 replies
  • 908 views

Forum|alt.badge.img+3

I have a “text entry” question type. When participant enter their answer,, the default text color is grey. I want to change it to black and also increase the text size. How to do that? 

Best answer by Deepak

@MM77_C 

This post should be helpful!

 

 

7 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • Answer
  • June 9, 2023

@MM77_C 

This post should be helpful!

 

 


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • June 10, 2023

@Deepak Thank you. The code made my text entry box bigger but the text color is not changing. It is still grey, while I want it black. 


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • June 11, 2023

@MM77_C The text entry box is bigger because of increase font-size and the color should have changed as well.

Are you sure you included color: #000; in the text box css?

 


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • June 12, 2023

@Deepak Yes, I did. Still it is not working. 


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • June 12, 2023

@MM77_C  which layout are you using?


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • June 12, 2023

@Deepak It worked now. I change the color code a bit :     color: #000 !important;

Thank you so much. 


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+46
  • June 12, 2023

@MM77_C Glad it worked!

Kindly mark the answer as solved if it resolved your issue.