Line spacing for text in multiple choice question | XM Community
Skip to main content
Question

Line spacing for text in multiple choice question

  • April 4, 2024
  • 1 reply
  • 171 views

Forum|alt.badge.img

Hi everyone,

Is it possible to modify line spacing in the text of one particular multiple choice question?  My boss wants the text to be more compact to minimize the amount of scrolling that needs to be done in order to answer the question.

I must admit I peeked into the already answered questions, but I don’t seem to find any answer I understand. I’ve seen codes, HTML and CSS, but I’m not sure how that works.

Thanks in advance!

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • April 4, 2024

You can use CSS to change to top and bottom padding on the choice labels. The padding is typically 20px. So, you can add a <style> tag to your question text to change the padding. Assuming it is the only question on the page and NOT Simple layout:

<style>
.Skin label.MultipleAnswer, .Skin label.SingleAnswer { padding: 5px 20px; }
</style>