How to adjust the text height in a survey question? | XM Community
Skip to main content
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.
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