Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Star Slider: place question above the stars

JoycaV Belgium Sage ✭✭✭

I'm looking for a way to ask long questions in combination with a star slider.
Standard; the space for the text is very limited, so if you type a long question it appears on many lines.
I found this:
that works great on desktop to combine long questions with the star slider;
however on mobile it becomes completely unusable.
So I thought, maybe a solution would be to make the question text appear above the stars, instead of next to them.
Is there a way to do that?

Best Answer

  • TomG
    TomG Raleigh, NC Wizard ✭✭✭✭✭
    Accepted Answer


    Qualtrics.SurveyEngine.addOnload(function() {
        jQuery("#"+this.questionId+" tr").each(function() {
            var row = jQuery(this);
            var th = row.before("<tr></tr>").find("th").attr("colspan","4").css("text-align","left");