Background color of a paragraph | XM Community
Skip to main content
Solved

Background color of a paragraph

  • January 28, 2020
  • 6 replies
  • 14 views

Forum|alt.badge.img+3
How to change the background color of a paragraph in the end of survey custom messages? I have a few end of custom messages in the message library and would like to change the background color with hex code for few of the paragraphs. Can anyone tell me how to do that?

Best answer by rondev

> @pXarma said: > I dont want gaps between sentences.. The whole background should be yellow, like how we can fill it in Microsoft Word In the source view of message write the code in following fashion: `<p style="background-color:#c0392b;">MESSAGE GOES HERE</p>` Change the hex code in the above code. For every new paragraph using new `p` tag

6 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • January 28, 2020
Select the paragraph for which we need to change the paragraph color and select the icon shown in below image !

Forum|alt.badge.img+3
  • Author
  • QPN Level 1 ●
  • January 28, 2020
![](<a data-flickr-embed="true" href="https://www.flickr.com/photos/186368522@N05/49453366283/in/dateposted-friend/" title="Sample1"><img src="https://live.staticflickr.com/65535/49453366283_1619235ee5_b.jpg" width="984" height="633" alt="Sample1"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script> "")

Forum|alt.badge.img+3
  • Author
  • QPN Level 1 ●
  • January 28, 2020
I dont want gaps between sentences.. The whole background should be yellow, like how we can fill it in Microsoft Word

Forum|alt.badge.img+3
  • Author
  • QPN Level 1 ●
  • January 28, 2020
![](<a data-flickr-embed="true" href="https://www.flickr.com/photos/186368522@N05/49453375913/in/dateposted-friend/" title="Sample 2"><img src="https://live.staticflickr.com/65535/49453375913_8b0d4b1cf6_c.jpg" width="800" height="235" alt="Sample 2"></a><script async src="//embedr.flickr.com/assets/client-code.js" charset="utf-8"></script> "") See this one i did in microsoft word.. same result i want to achieve in Qualtrics. Is there any HTML code for this?

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Answer
  • January 28, 2020
> @pXarma said: > I dont want gaps between sentences.. The whole background should be yellow, like how we can fill it in Microsoft Word In the source view of message write the code in following fashion: `<p style="background-color:#c0392b;">MESSAGE GOES HERE</p>` Change the hex code in the above code. For every new paragraph using new `p` tag

Forum|alt.badge.img+3
  • Author
  • QPN Level 1 ●
  • January 28, 2020
yes it worked!!! thank you so much :)