How to move above the question | XM Community

How to move above the question

  • 26 October 2022
  • 3 replies
  • 6 views

Badge +2

Hello Community,
I'm trying to work with checkbox and radio button however the checkbox question and radio button are in two different questions, but they are related to one other
Here's the picture in the builder,
image.pngBecause they are in 2 different questions therefore in the preview, they are apart from each together. The question is how I can make them close to one other or make the radio button question move at the top
Here's the preview looks like
image.png


3 replies

Userlevel 7
Badge +36

ricsdpl
You can do it by adding the below code in appropriate places:
Add the below code in a single select 1st Question:
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
jQuery("#"+this.questionId+".QuestionOuter").css("padding-bottom","0px");
});
Add the below code in Custom CSS in Look and Feel and change the QID for multiple choice Question
.Skin .QuestionBody {
    padding: 0px;
}
@media (min-width: 770px){
.Skin .QuestionBody {
padding-bottom: 0px!important;
}
@media (max-width: 770px){
.Skin .QuestionBody {
padding-bottom: 0px!important;
}
/* Change QID for multiple choice question*/
#QID9 .QuestionText {
    display: none;
    padding: 0px;
}
Preview:
image.pngHope it helps!

Userlevel 4
Badge +16

Thank you so much Deepak for creating these amazing custom solutions for our community 🙂

Badge +2

Thank you Deepak!

Leave a Reply