Increase the width of the answer boxes for Matrix Constant Sum | XM Community
Skip to main content

We're asking for numeric responses and this only shows about 4 digits at a time. Makes it difficult to correct errors when the last few digits were entered incorrectly.
image.png

I've seen some posts showing a code to enter in the Custom CSS in "Look and feel", but they aren't working for me

Hi akennedy,
What code are you using in the CSS? It's possible it isn't overriding the default style set up in Qualtrics.
The following worked for me and should hopefully not impact any other text input fields you have that aren't in a matrix:
.Skin .Matrix .TE .Short td input {
width: 100px !important;
}
The !important part is what overrode the default styling.
Note that this gets applied to your entire survey, so if you have other matrix text entries set up and want them to behave differently, you'll need a different solution.
Good luck!


Hi, I've also used the below before:
.Skin .Matrix .CS td input, .Skin .Matrix .RO td input {
width: 100px;
}


The code I was using didn't have the "td" between .CS and input, maybe that was the problem. It's working now, thanks!


Leave a Reply