Set background-image depending on device | XM Community
Skip to main content
Question

Set background-image depending on device

  • August 14, 2019
  • 0 replies
  • 10 views

Rudi
QPN Level 3 ●●●
Forum|alt.badge.img+16
  • QPN Level 3 ●●●
Dear all, the requirement is to show a background image depending on the device. I tried it this way: Step 1 setting the jquery snippet into the survey flow <script>jQuery("#SurveyEngineBody").css({"background":"url('https://xxxxxxx.ca1.qualtrics.com/ControlPanel/Graphic.php?IM=IM_a3p7BQd8ya3hWx7')"</script> step 2 calling the variable in the header section Unfortunately, it doesn't work this way. It would be great if anyone could help Thanks for your support and best regards Rudi