Hide Background Image for one page | XM Community
Skip to main content
Solved

Hide Background Image for one page

  • September 26, 2018
  • 3 replies
  • 70 views

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
Is it possible to hide the background image that I put in using CSS from a single page? Ideally I want the background image to be absent on page 1, but present on all subsequent pages.

Best answer by TomG

Try this: ``` Qualtrics.SurveyEngine.addOnload(function () { jQuery("#SurveyEngineBody").css("background","none"); }); ```

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • September 26, 2018
Yes, you can do it with JavaScript, but you would have to tell us what element you attached the background image to for us to tell you how to do it (i.e., show your CSS).

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
  • Author
  • Level 4 ●●●●
  • September 26, 2018
Happily :) ""#SurveyEngineBody { background: url(https://bcbssc.az1.qualtrics.com/ControlPanel/Graphic.php?IM=IM_da6HUghgU5lJGbr); background-repeat: no-repeat; background-size: auto; background-position: left top; }""

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • September 26, 2018
Try this: ``` Qualtrics.SurveyEngine.addOnload(function () { jQuery("#SurveyEngineBody").css("background","none"); }); ```