How do I make side by side question mobile friendly? | XM Community
Solved

How do I make side by side question mobile friendly?


Badge +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.
!
icon

Best answer by TomG 9 May 2019, 20:18

View original

6 replies

Hello @Lubna ,

For this you can also use Matrix question type, in which in mobile view we get accordion.
Badge +3
Thanks Shashi.

But can I make the likert scale horizontal instead of vertical. see attached pic.
!
Userlevel 7
Badge +27
@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:
!
Badge +3
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.
Badge +3
@TomG

Could you please help me with the JS code?

Lubna
Userlevel 7
Badge +27
> @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.

Leave a Reply