Adjust the width of a SINGLE question to 100% | XM Community
Skip to main content
Solved

Adjust the width of a SINGLE question to 100%

  • June 3, 2024
  • 6 replies
  • 386 views

Forum|alt.badge.img+8

Hi,

Question - How can I adjust the width of a SINGLE question to 100% of the screen? (Multiple Choice - Multiple Answers) I see the CSS code/other posts, but that applies to EVERY question. I am trying to increase the inner and out skin to 100% for only a single question.
Thanks!

Best answer by Sachin Nandikol

Hello @MaggieGentry,

I don't think the code will help you in this case. The reason for the scroller is the number of choices you added is more. To reduce the scrolling, you can resize the choice boxes and decrease the space between them. However, note that this may make the layout look more clumsy.

One suggestion is to reduce the number of columns. This will remove the horizontal scroll but will result in a vertical scroll instead.

Let me know if this helps.

6 replies

Sachin Nandikol
QPN Level 6 ●●●●●●
Forum|alt.badge.img+44
  • QPN Level 6 ●●●●●●
  • 531 replies
  • June 4, 2024

Hello @MaggieGentry,

Try adding your CSS code into that particular question itself.

clcik on Question text → HTML View→ Add your code with HTML & Style tags.

Let me know if this helps.


Forum|alt.badge.img+8
  • Author
  • Level 2 ●●
  • 43 replies
  • June 4, 2024

<style>
.Skin, .SkinInner {width:100% !important;}
.Skin .QuestionOuter.Matrix{ max-width: 100%; }
</style>

 

This? I don’t think the above worked - when I make my screen smaller, I still have to scroll horizontally, which I don’t want to occur. I want all options to appear on a single screen.


Sachin Nandikol
QPN Level 6 ●●●●●●
Forum|alt.badge.img+44
  • QPN Level 6 ●●●●●●
  • 531 replies
  • June 4, 2024

Hello @MaggieGentry,

If possible share the survey link or some screenshots so that I can understand better.

Thank you.


Forum|alt.badge.img+8
  • Author
  • Level 2 ●●
  • 43 replies
  • June 4, 2024

Sure thing - please see attached. 

As you can see - from the screenshots, the answer choices are getting cut off. Essentially, I want “everything to wrap”/show on a single screen WITHOUT the horizontal scroll bar - vertical scroll bar is fine if we have to keep it - but I want horizontal to go away/have all responses wrap.

 

Thanks! 


Sachin Nandikol
QPN Level 6 ●●●●●●
Forum|alt.badge.img+44
  • QPN Level 6 ●●●●●●
  • 531 replies
  • Answer
  • June 4, 2024

Hello @MaggieGentry,

I don't think the code will help you in this case. The reason for the scroller is the number of choices you added is more. To reduce the scrolling, you can resize the choice boxes and decrease the space between them. However, note that this may make the layout look more clumsy.

One suggestion is to reduce the number of columns. This will remove the horizontal scroll but will result in a vertical scroll instead.

Let me know if this helps.


Forum|alt.badge.img+8
  • Author
  • Level 2 ●●
  • 43 replies
  • June 4, 2024

Bummer - okay, I will update the columns.

Thanks!