Radio buttons line width | XM Community
Skip to main content
Question

Radio buttons line width

  • January 4, 2021
  • 3 replies
  • 18 views

Hi,
I have a question with 28 multiple choice answers which I would like to have on a single line of width 950px.
I've been trying to figure out what code should I write to constrain it that way .
Andy

3 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • January 4, 2021

Does this work?
qid = "#" + this.questionId;
document.querySelector(qid).style.width = "950px"


  • Author
  • January 4, 2021

Thanks! Do I place this in a Javascript?


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • January 4, 2021

Yes. Place it within the

addOnReady
function. But I would suggest moving to another theme like boxed questions, which should get you the desired results without JS.