Skip to main content

Customize your PDF header

This page applies to:MindTouch Responsive

To make customizations to your PDF headers as below, navigate to Site tools > Control panel > Branding > Custom PDF CSS and enter your custom code:

@page {
@top-left {
   content: "\A9 2016 Copyright Company. All rights reserved.";
   font-family:Arial, Helvetica, sans-serif;
   border-bottom: 1px solid #ccc;
   font-size: 8pt;
   color: #666666;
   width: 3in;
  }
@top-center{
content: counter(page);
   font-family:Arial, Helvetica, sans-serif;
   border-bottom: 1px solid #ccc;
   font-size: 8pt;
   color: #666666;
    }
@top-right{
   content: "more information";
   font-family:Arial, Helvetica, sans-serif;
   border-bottom: 1px solid #ccc;
   font-size: 8pt;
   color: #666666;
   }
}

NOTE: If you want to add custom header and custom footer elements, you would add both contents under the  @page {  }  section.  

Tip: As you customize your PDF, periodically create a PDF from an article to check the output and ensure it is formatted the way you want it to look.