change the background for one question | Experience Community
Skip to main content

change the background for one question

  • Oct 11, 2022 9:16 AM UTC
  • 1 reply
  • 211 views

Forum|alt.badge.img+1

Is there a way of adding an image as the background of just one question?
Thank you in advance

1 reply

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+48
  • Oct 11, 2022 11:06 AM UTC

Simin
You can replace the QID and URL of image in below code and add it onload:
jQuery("#QID1").css({"background":"url(https://image.shutterstock.com/image-vector/sample-red-square-grunge-stamp-260nw-338250266.jpg)"})
Hope this helps!