How do I make side by side question mobile friendly? | XM Community
Skip to main content
Solved

How do I make side by side question mobile friendly?

  • May 9, 2019
  • 6 replies
  • 490 views

Forum|alt.badge.img+3
We have a side by side question , it has 5 statement and 1 column with 11 scale rating. It looks good on a desktop view, however when viewed on a mobile we see a scroll bar. attached is a screenshot of the same. I want to use a mobilefriendly question without making any changes. !

Best answer by TomG

@Lubna, The only way to make it mobile friendly and fit the width in portrait mode is to check Position Text Above and write some JavaScript to make adjustments. It isn't easy, but it is possible: !

6 replies

  • May 9, 2019
Hello @Lubna , For this you can also use Matrix question type, in which in mobile view we get accordion.

Forum|alt.badge.img+3
  • Author
  • May 9, 2019
Thanks Shashi. But can I make the likert scale horizontal instead of vertical. see attached pic. !

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • May 9, 2019
@Lubna, The only way to make it mobile friendly and fit the width in portrait mode is to check Position Text Above and write some JavaScript to make adjustments. It isn't easy, but it is possible: !

Forum|alt.badge.img+3
  • Author
  • May 10, 2019
Could you please help me with the JS code to make the likert scale horizontal in the matrix question? similar to the screenshot shared above.

Forum|alt.badge.img+3
  • Author
  • May 13, 2019
@TomG Could you please help me with the JS code? Lubna

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • May 13, 2019
> @Lubna said: > @TomG > > Could you please help me with the JS code? Since you didn't post any code, I'm assuming by 'help' you mean provide the code to you. Sorry, but that wouldn't be fair to my paying clients.