Custom HTML Border for a Single Question | XM Community
Skip to main content

I am trying to add a banner that appears after a quota is met at the top of my first page of survey.

I want this 'question' to be bordered. And only this question.

I found from this post (https://community.qualtrics.com/XMcommunity/discussion/871/is-it-possible-to-put-a-frame-around-a-question) that frames everything on the page.

I found from this other post (https://community.qualtrics.com/XMcommunity/discussion/16190/framing-a-single-question-with-a-border-im-using-css-but-it-adds-a-frame-to-every-question) supposedly code to make it only border the one question.


So what I have tried is a few variations. None of them work. No border, not even for all questions.
These are all at the top of the "HTML view" of the desired question (which is QID27)




jQuery(.class).css('border','1px')
Here class refers to the class of the question or the question text.


https://community.qualtrics.com/XMcommunity/discussion/comment/47914#Comment_47914Thanks for answering my question so quickly but I am complete HTML/CSS/JS beginner--- what do I do with this? where do I put it? Am I supposed to change "class" to be QID?


I think your selectors are incorrect. The id (QID27) is unique. So, try this:


https://community.qualtrics.com/XMcommunity/discussion/comment/47920#Comment_47920Thank you so much, that worked!! Your title "Wizard" is quite appropriate- I see your answers all over the forum!

Thank youuuu


Leave a Reply