Remove the padding between 2 questions | XM Community
Solved

Remove the padding between 2 questions

  • 30 October 2019
  • 1 reply
  • 104 views

Userlevel 7
Badge +6
How do I reduce the distance between 2 questions? I have 1 MC question but 3 possible descriptive text questions above it. The descriptive text questions dispaly one of the options based on the choices of the previous question. Doing this method makes the survey langauge more flexible but the gap between the questions isn't great to look at.
icon

Best answer by TomG 30 October 2019, 15:13

View original

1 reply

Userlevel 7
Badge +27
Where the space is coming from can be theme dependent. It also depends on how close together you want items. Try adding the following to your MC question. If it isn't what you want, use the browser's Inspect feature to find where the space is coming from and adjust accordingly.
```
Qualtrics.SurveyEngine.addOnReady(function() {
var q = jQuery("#"+this.questionId);
q.prev(".Separator").hide();
q.find(".QuestionText").css("padding-top","0px");
});
```

Leave a Reply