Hide Background Image for one page | XM Community
Solved

Hide Background Image for one page

  • 26 September 2018
  • 3 replies
  • 36 views

Userlevel 7
Badge +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.
icon

Best answer by TomG 26 September 2018, 23:10

View original

3 replies

Userlevel 7
Badge +27
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).
Userlevel 7
Badge +6
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;
}""
Userlevel 7
Badge +27
Try this:
```
Qualtrics.SurveyEngine.addOnload(function () {
jQuery("#SurveyEngineBody").css("background","none");
});
```

Leave a Reply