Support Article
Background color of generated PDF displays in grey
SA-24544
Summary
The background color in generated PDF documents appear in grey color. The expectation is to see the background white.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a PDF document with the out of the box pxCreatePDF activity.
- Observe that the background color is grey.
Root Cause
An issue in the custom application code or rules.
Resolution
There is a available rule: - py-enduser71-workarea-overrides.
Open this rule and look for below line.
/* Sets background color of page before anything loads */
Change it to include the following code.
/* Sets background color of page before anything loads */
html {
background: white;
}
Published June 27, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.