Solved
How to reduce number of column in multiple choice question in mobile phones?
Hi community,
I have a multiple choice question with choices arranged in several columns. It looks great on computers, but unfortunately terrible on devices with small screen sizes. Would anyone know, whether and how to get different number of columns at different devices according to their screen size?
Thanks in advance
Best answer by TomG
@fleb,
The underlying structure of a column MC question is an html table. So, there isn't going to be any magic css that rearranges the columns based on screen size. You would be better off starting with a vertical MC question then use css to arrange into columns based on screen size.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

2) How to center the text vertically? I've tried `vertical-align: middle;` and `justify-content: center;`, but it didn't help...
The code is here:
Qualtrics.SurveyEngine.addOnload(function()
{
var that = "#"+this.questionId;
var chs = that + " .ChoiceStructure";
var s = that + " .Selection";
var ma = that + " .MultipleAnswer";
jQuery(chs).css("display","flex");
jQuery(chs).css("flex-wrap","wrap");
jQuery(chs).css("justify-content","center");
jQuery(s).css("width","200px");
jQuery(s).css("margin","10px");
jQuery(s).css("border-style","solid");
});
Medium:
!
Narrow:
!