Background color of a paragraph | XM Community
Skip to main content
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?
Select the paragraph for which we need to change the paragraph color and select the icon shown in below image

!
![](<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> "")
I dont want gaps between sentences.. The whole background should be yellow, like how we can fill it in Microsoft Word
![](<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?
> @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
yes it worked!!! thank you so much 🙂

Leave a Reply