How do I make a matrix table constant sum box wider? | XM Community
Skip to main content
Solved

How do I make a matrix table constant sum box wider?

  • August 12, 2021
  • 4 replies
  • 303 views

Forum|alt.badge.img

Does anyone know the jscript to get the boxes in a constant sum matrix table to be wider?
image.png

Best answer by JeremyK

ahmedA is referring to this Qualtrics Support page. Inside the survey, go to Look & Feel (I always go to the old editor since our theme is severely outdated) -> Choose Style. You'll find a "Custom CSS" textbox. That's where you want to paste in ahmedA's CSS to find and change your input textboxes' length. It'll look like this:
.Skin .Matrix .CS input {
width: 150px
}
Just change the number to suite your needs.
*Note: this will change it for every text input in your survey. If you want to get more granular with your textbox sizes (like just this question or different statements to have different sizes inside a question), I can give you a JavaScript snippet I build and use.

4 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • August 12, 2021

Custom CSS:

.Skin .Matrix .CS td input { width: ....px}


Forum|alt.badge.img

Hi Ahmed. I am not sure what you mean. Do I copy the text you put in the answer somewhere in the question? Sorry I am not familiar with any script writing.


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • August 12, 2021

You'll have to read the support pages on styling surveys.


JeremyK
Level 3 ●●●
Forum|alt.badge.img+7
  • Level 3 ●●●
  • Answer
  • August 16, 2021

ahmedA is referring to this Qualtrics Support page. Inside the survey, go to Look & Feel (I always go to the old editor since our theme is severely outdated) -> Choose Style. You'll find a "Custom CSS" textbox. That's where you want to paste in ahmedA's CSS to find and change your input textboxes' length. It'll look like this:
.Skin .Matrix .CS input {
width: 150px
}
Just change the number to suite your needs.
*Note: this will change it for every text input in your survey. If you want to get more granular with your textbox sizes (like just this question or different statements to have different sizes inside a question), I can give you a JavaScript snippet I build and use.