Is there a way to make the text-entry boxes appear in the center of the screen rather than the left side?
Page 1 / 1
Assuming you are using a Text entry style question, add the following to the html of the question:
<style>
.ChoiceStructure {
text-align: center;
}
</style>
If you have multiple questions on the page and you only want to center this one, try adding the following Javascript to the Question:
Qualtrics.SurveyEngine.addOnReady(function()
{
this.questionContainer.select('.ChoiceStructure')[0].style = 'text-align: center;';
});
<style>
.ChoiceStructure {
text-align: center;
}
</style>
If you have multiple questions on the page and you only want to center this one, try adding the following Javascript to the Question:
Qualtrics.SurveyEngine.addOnReady(function()
{
this.questionContainer.select('.ChoiceStructure')[0].style = 'text-align: center;';
});
@AnthonyR The html worked perfectly! Thank you!
@AnthonyR - thanks for posting! All sorts of useful snippets for us Qubies 0_o
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.