Backgrounds for questions | XM Community
Solved

Backgrounds for questions

  • 26 November 2018
  • 2 replies
  • 162 views

Badge
I am wondering if anyone can help me with backgrounds. I have uploaded an image that I am using for background of the first two pages of my survey (through the Look and Feel section). I would then like to upload a different image to be used for the remainder of the questions in my survey. Only problem is, I cannot figure out how to do this. I am currently setting the background of the rest of the survey to white using JavaScript CSS in the questions (see below). As far as I understand, I can only use this code to set the background to a block colour or link to an online image. Any ideas how I can use an image file for the background?

jQuery("#SurveyEngineBody").css({"background":"url('YOUR_IMAGE_URL')",
"background-size": "cover",
"background-repeat": "no-repeat",
" background-position": "center center"});
icon

Best answer by Anonymous 26 November 2018, 17:30

View original

2 replies

Hello @melissa_b ,

You need to get the image file URL and paste at the YOUR_IMAGE_URL part.
Badge
Thank you!! 😀

Leave a Reply