How do I make an image automatically resize for mobile screens? | XM Community
Skip to main content
Solved

How do I make an image automatically resize for mobile screens?

  • July 8, 2019
  • 4 replies
  • 1022 views

! Hello! At the moment I am working on my dissertation. I almost finished my Qualtrics design, but one thing remains before distributing the survey. When I preview the mobile version the image that I added above the text (as shown in the attached image) does not resize to the mobile version. Therefore the text under the image does also not resize and is therefore hard to read on a mobile phone. I am still very new to coding, but does somebody know how I can make the image above the text automatically resize towards the screen that the respondent uses? Thank you very much in advance! Kind regards, Luuk

Best answer by JenCX

It should do this natively. How did you add the image? Check through this resource and see if it solves your problem.

4 replies

JenCX
Level 5 ●●●●●
Forum|alt.badge.img+11
  • Level 5 ●●●●●
  • Answer
  • July 8, 2019
It should do this natively. How did you add the image? Check through this resource and see if it solves your problem.

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • July 8, 2019
Set max-width to 100%: ``` <img src="https://your_image" alt="Alt Text" style="max-width:100%"> ```

AlexPanic
Level 1 ●
  • Level 1 ●
  • May 22, 2020

Hi, sorry I am new to Qualtrics, where do you enter that CSS?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • May 25, 2020

AlexPanic - What I posted above is html with inline css. Edit your question text in HTML View.