Remove the padding between 2 questions | XM Community
Skip to main content
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.
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