Spacing between slider and labels | XM Community
Skip to main content

Hello!
I'm attempting to reduce the distance between the slider scale and the labels since there is now a substantial amount of gap between the slider and the labels, which makes the link between the slider and the labels unclear to the responder. Is there anybody who has any suggestions?
I included the following code in the custom CSS, however, it removed the slider statement. Thanks.
.JFEScope .Skin .q-slider .statement-container { display: none; }
image.png

Hi Maria,

this below
image.png
can be achieved by this js:

Qualtrics.SurveyEngine.addOnload(function()
{
let statementContainer = document.getElementsByClassName('statement-container')
let statementContainerCopy = statementContainer[0]
let legend = document.getElementsByTagName('legend')
legend[0].insertAdjacentHTML('afterend', statementContainer[0].innerHTML);
statementContainer[0].remove()
});
Best regards

Rudi


Leave a Reply