adding a full size image (banner) to the first page of the survey | XM Community
Solved

adding a full size image (banner) to the first page of the survey

  • 21 April 2022
  • 2 replies
  • 709 views

Userlevel 2
Badge +1

Hi,

Can anyone please advise me on how to add a full size image - end to end (banner) just to the first page of my survey?
Many thanks🙂

icon

Best answer by Tom_1842 25 April 2022, 21:51

View original

2 replies

Userlevel 6
Badge +33

Simin There is a question type "Text/Graphic." If you select that and then change content type to "Graphic" you should be able to accomplish your goal.

Userlevel 7
Badge +27

Hi there, the Text/Graphic solution will work great but it will technically be a part of the survey and might be limited by the width of the question containers. You can also approach this by going after the Logo space directly via some code.
If you have a Logo already in place for your survey, you can replace the URL of the logo for a single page by using jQuery. You can also use jQuery to adjust the styling of the new image. Place the below code in the OnLoad section of a question on the first page via JavaScript:
jQuery('#Logo img').attr('src', 'https://www.pngmart.com/files/9/Text-Banner-PNG-Transparent-Image.png');

jQuery('#Logo img').css({"height":"auto", "width":"480px"});

Leave a Reply