Customize PDFs

Uniquely brand your PDF outputs.

View the default PDF CSS

Before you start modifying your PDF CSS, get insight into the default PDF CSS:

  1. Append the following to your Expert site URL: /@style/common/prince.css.
    Example:https://<your-site.com>/@style/common/prince.css
  2. Check for styles you can modify to fit your own styling.

Be aware that content: <value> adds information to the PDF. If the content: <parameter> includes a flow value, then there are elements that are passed to the PDF that cannot be modified, only overridden.

Add your custom PDF CSS

PDF CSS does not have a Revision History. Changes are final and cannot be reverted

To customize styles:

  1. Navigate to Site tools > Control panel.
  2. Under Branding, select Custom PDF CSS.
  3. Add your own CSS in the Custom PDF CSS text box.
  4. Click Save.
  5. To save a CSS file as backup or to work with it on your desktop IDE (integrated development environment), click Export CSS.

Added styles must be supported by Prince. For CSS formatting help, refer to http://www.w3schools.com/css/default.asp.
CP_Custom_PDF.png

More customization

Review sample styles to start customizing your PDFs.