How to adjust the text height in a survey question? | XM Community
Solved

How to adjust the text height in a survey question?

  • 2 April 2018
  • 2 replies
  • 26 views

I made a change in the Rich Content Editor, hoping to remove spaces between lines of our disclaimer language. it looks fine in preview, but not in actual survey. I changed this code form 120% to 80%: style="line-height: 80%
Any suggestion is appreciated.
icon

Best answer by MohammedAli_Rajapkar 3 April 2018, 00:13

View original

2 replies

Userlevel 7
Badge +20
Hi Yuki,

I believe you would also have to reduce the line-height of a parent class which is .Skin .QuestionText
You can try adding below code and see if it works.

"<style type="text/css">.Skin .QuestionText {
line-height:80%;
}
</style>"

If the disclaimer page have any other other question / text then you will have to make sure that the above setting should apply to disclaimer "question type" text only.
Thank you Mohammedali!
It made sense to do that at a parent class. I tried a few things and when I put the line-height setting at <p>, it seemed to work. thank you!

Leave a Reply