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

How to adjust the text height in a survey question?


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.

Best answer by MohammedAli_Rajapkar

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.
View original

2 replies

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+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.

  • Author
  • 1 reply
  • April 6, 2018
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