Formatting Multiple Likert Questions | XM Community
Skip to main content
Solved

Formatting Multiple Likert Questions

  • October 1, 2018
  • 8 replies
  • 72 views

Forum|alt.badge.img
Hello there! I noticed that if you have Stats IQ, the Cluster Analysis or other features does NOT work with Matrix questions currently. As a workaround, I layered many Multiple Choice, Single Answer questions on top of each other so that I could show a bunch of questions together. Does anyone know a way to make it so that the statement shows on the side of the question, rather than on the top? Maybe using Div Class?

Best answer by dsweeney

Thanks. Assuming your instructions are in a decorative block (Text/Graphic), how does the following work? I've reduced the max-width to avoid the bleeding and set the question text to be 400px wide. The DB rule resets the CSS values for those legend elements. ``` .Skin .SkinInner { width: 100%; max-width: 1200px; margin: auto; } .Skin fieldset legend { float: left; width: 400px; white-space: normal; } .Skin .DB fieldset legend { float: inherit; width: inherit; white-space: inherit; } .QuestionBody { margin-left: 200px; } ```

8 replies

Forum|alt.badge.img+5
  • Level 2 ●●
  • October 2, 2018
You could try adding some custom css in the Look & Feel -> Style section. This would apply to all questions: ``` .Skin fieldset legend { float: left; width: auto; } .QuestionBody { margin-left: 200px; } ``` It might need some adjustment for the mobile display.

Forum|alt.badge.img
Thanks @dsweeney that gets me a little bit closer to my answer but I only need it on a single page, and it was cut off a bit in the frame. So far I played with the code you provided and added the below but the question body area bleeded off the page. `.Skin .SkinInner { width: 100%; max-width: 1600px; margin: auto }`

Forum|alt.badge.img+5
  • Level 2 ●●
  • October 3, 2018
Can you provide a screenshot of what you've got so far?

Forum|alt.badge.img
Sure thanks for helping me. It seems to be working better when I repasted it, but is there a way to fix the width of the likert scale points so that each area doesn't change? !

Forum|alt.badge.img
.Skin .SkinInner { width: 100%; max-width: 1600px; margin: auto } .Skin fieldset legend { float: left; width: auto; } .QuestionBody { margin-left: 200px; }

Forum|alt.badge.img
One other thing I forgot to note is that if I play around with the width of the fieldset legend, it also changes the width of the Text header above. !

Forum|alt.badge.img+5
  • Level 2 ●●
  • Answer
  • October 4, 2018
Thanks. Assuming your instructions are in a decorative block (Text/Graphic), how does the following work? I've reduced the max-width to avoid the bleeding and set the question text to be 400px wide. The DB rule resets the CSS values for those legend elements. ``` .Skin .SkinInner { width: 100%; max-width: 1200px; margin: auto; } .Skin fieldset legend { float: left; width: 400px; white-space: normal; } .Skin .DB fieldset legend { float: inherit; width: inherit; white-space: inherit; } .QuestionBody { margin-left: 200px; } ```

Forum|alt.badge.img
That works, thank you! !