Survey buttons - 10 displays vertically in buttons | XM Community
Skip to main content

I am trying to get the buttons to display left to right from 1 to 10 without a scroll bar.
It now displays with the 10 vertically instead of 10.
1to10snap.pngI am attempting to help someone with this. The previous person came up with the following code under "look and feel", "Style", Custom CSS box. I have tried changing a few things, but nothing gets the 10 to not be shown vertically like this. What should be different ? Suggestions ?
..............................................................
labels-container .numbers li{
 font-size: 15px;
}
.CarouselAnswerButtonContainer {
 min-width: 10px;
 width: 60px;
 padding-top: 0px;
 padding-bottom: 0px;
 padding-left: 0px;
 padding-right: 0px;
 margin: 2px;
}

.CarouselAnswerButton.Horizontal.Overflow {
  min-width: 16px;

Hi,

It looks like you are trying to adjust how the scale gets displayed for a Carousel style Matrix question.

I would recommend dedicating a 10 choice Multiple Choice question to each row in the Matrix and set the answer choices to display horizontally. This will remove the scroll bar and also display the best on Mobile devices.

If you would like to stick with the Carousel Matrix question format, adjusting the padding of the Overflow element worked for me. Try adding the below to that portion of your CSS:

.CarouselAnswerButton.Horizontal.Overflow {
 min-width: 16px;
padding-left: 2px;
padding-right: 2px;
}

carouselmatrixpadding.png
The problem with the display will still exist on Mobile devices, however.

Hope this helps!


Leave a Reply