Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Font color of generated PDF file is white

SA-74146

Summary



Font color of a generated PDF file is white.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a case with steps
  2. Add the Create PDF smart shape to the last step
  3. Use the pyCaseInformation section as the Source
  4. Execute the case


Root Cause



The Create PDF smart shape inherits the application skin while generating the PDF.


Resolution



Perform the following local-change:
  1. Create a Cascading Style Sheet (CSS) file from Create > Technical > Text File
  2. Provide the Label field with a filename, App Name (Directory) with webwb, and File Type (extension) with CSS
  3. Add the below code to the file:

    h1, h2, h3, h4, h5, h6  {
                 color: #000000 !important;
     }
     .dataValueRead {
               color: #000000 !important;
     }
     
  4. Navigate to Application > Skin > Included Styles > Additional style sheets
  5. Add the CSS file name

Published December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us