Using Java for a background, Questions are not displayed centered | XM Community
Skip to main content
Question

Using Java for a background, Questions are not displayed centered

  • April 28, 2020
  • 2 replies
  • 21 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

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • April 28, 2020

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


  • Author
  • April 28, 2020

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.