How to reduce the size of the box around multiple choice answers? | XM Community
Solved

How to reduce the size of the box around multiple choice answers?

  • 7 March 2019
  • 3 replies
  • 199 views

I need to compact my survey as possible, is there anyway I can reduce the size of boxes around multiple choice answers (attached screenshot). probably using jQuery for specific questions? I have no prior knowlege of how to code in java, so any help is greatly appreciated.

!
icon

Best answer by Anonymous 7 March 2019, 21:43

View original

3 replies

Hello @elmiraberjisian ,

Try this:

Paste the below code in the js(OnReady) of the Multi choice question:

`jQuery("#"+this.questionId+" label.SingleAnswer").css({"padding":"5px","display":"inline-block"});`
@Shashi Thanks, it works 🙂
Badge +1

I'm trying to do the opposite, and increase the box size to reduce text wrapping. I'm assuming the code would be similar, but I haven't been able to crack it. Does anyone have any suggestions? elmiraberjisian

Leave a Reply