How do I specify the size of text box in the 'Allow text entry' section using CSS? | XM Community
Skip to main content
Solved

How do I specify the size of text box in the 'Allow text entry' section using CSS?

  • December 20, 2018
  • 5 replies
  • 714 views

How do I specify the size of text box in the 'Allow text entry' section using CSS?

Best answer by Anonymous

Hello @Laura_qual ,

Paste the below code in Add custom css

.Skin .MC .Inner .InnerInner .QuestionBody .TextEntryBox {
width: 500px;
height: 500px;
}
View original

5 replies

  • 0 replies
  • Answer
  • December 20, 2018
Hello @Laura_qual ,

Paste the below code in Add custom css

.Skin .MC .Inner .InnerInner .QuestionBody .TextEntryBox {
width: 500px;
height: 500px;
}

  • Author
  • 1 reply
  • January 7, 2019
Thank you so much!

Forum|alt.badge.img
  • 2 replies
  • January 10, 2020
I had the same question and the Dec. 2018 solution works great for me except on mobile. Is there a way to adapt the code so that it works for mobile as well?

Many thanks in advance for any assistance!

Thanks for this post. How can I make this code work for the text entry boxes in a matrix format question?


Forum|alt.badge.img
  • 1 reply
  • July 12, 2022

This solution does change the size of the text entry box - but in chrome at least it does not change the behavior of the text box. It seems to think it is a one row text box - instead of a multi-row paragraph text box. It's a helpful indicator to the survey taker that they can type longer - but ideally one would want it to behave like a paragraph text box.


Leave a Reply