Using Java for a background, Questions are not displayed centered | XM Community
Question

Using Java for a background, Questions are not displayed centered

  • 28 April 2020
  • 2 replies
  • 8 views

Hi,
I'm currently trying to use Qualtrics as a tool for my MSc Thesis. I'm doing this by running a study that requires participants to recognize symbols in a background image while they are engaged in another task (text box is used). The problem is currently that the question is not centralized displayed in the screen and therefor not all symbols are visible (mainly at the top).
I've included the JavaScript + how it looks like at the moment (on a desktop) as an attachment.
Thanks in advance for your support!
Capture of Question.PNGJavascript.PNG


2 replies

Userlevel 7
Badge +22

Try adding below code in the JS and adjust the px as requied:
jQuery(".SkinInner").css("margin-top","80px");

Thanks Rondev, that helps. The problem is that I don't know on which resolution participants will run the study (or use a desktop or laptop), so it would be nice if the question would be centralized automatically.

Leave a Reply