Welcome to Zuora Product Documentation

Explore our rich library of product information

Configure headers and footers with predefined page numbers

Learn how to configure headers and footers with predefined page numbers in the Zuora UI by setting margins, adding components, and customizing content.

To add a predefined page number into a header or footer through the Zuora UI, perform the following steps:

  1. Follow the steps in Configure page setup for HTML templates , set the top and bottom margins to have space to add a header and footer. For example, you can set the page size to A4 (210 mm x 297 mm), left margin to 5 mm, right margin to 5 mm, top margin to 30mm, and bottom margin to 5 mm.
  2. In the Blocks tab, navigate to Header > All to see all the predefined headers.
  3. Drag one of the predefined headers into the HTML template and place it at the top of the HTML template. For example, the predefined header contains the first column to place the company logo, the second column with blank content, and the third column to place the company address. Header
  4. In the HTML template, click the header Row block and modify the content for each column. For example, you can drag an image component to add your company logo, and update the text in the third column.
  5. In the Content tab, drag the predefined Page Number component into the HTML template, and place it into the third column of the header Row block. Header with Page Number
  6. In the HTML template, click the Page Number component. The Content panel is displayed on the right of the template editor.
  7. In the Content panel, configure the following information:
    1. In the Page Number section, configure the text color, background color, content alignment, font family, font size, padding, and number option. Note: The predefined Page Number component only supports the texts "Page" and "of" in English. If you want to use another language for the texts "Page" and "of", see Configure headers and footers with customizable page numbers .
    2. Configure the container padding for the Page Number component in the General section.
  8. In Preview mode, select an account and a billing document to preview the corresponding PDF file online. The preview PDF file displays the configured header with a page number. Invoice
  9. Follow the same steps to configure a footer with a predefined page number.