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

Survey buttons - 10 displays vertically in buttons

  • January 26, 2022
  • 1 reply
  • 44 views

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;

1 reply

Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 876 replies
  • February 8, 2022

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