Adding headers and footers in master pages

When you create a master page, the header and footer elements are created automatically in the Master Page tab of the template editor. You can use the palette to drag the various elements to plan the layout and style of your header and footer contained within the master page. Then, the master pages be reused across templates.

Before you begin

Create a master page. See Creating a master page for more information.

Procedure

  1. In the template editor, select the Master Page tab.
  2. Add elements to the header and footer by using one of these options:
    • Select the required elements from the Palette and drag them into the editor.
    • In the editor area, right-click the Header or Footer and click Insert.
    • In the Outline view, right-click the Header or Footer and select Insert.
  3. Save the changes.

Example

To create a well-structured footer, you can use a Table element with one row and three cells. The first cell will be designed to contain some text, the second cell will contain the page number and the total pages number and the last cell will contain an image representing a logo and some text.

  1. Create a master page.
  2. Add the master page to an element in the template editor.
  3. In the Master Page tab of the editor, add the Table element to the footer.
  4. Enter one row and three columns for the table element and click OK.
  5. In the first Cell, insert a Text element
  6. In the second Cell, insert a Text element, Page Number element, a second Text element, and a Total Page Number element.
    • In the first Text element, enter Page:.
    • In the second Text element, enter /.
  7. In the third Cell, insert an Image element and a Paragraph element.
    • Right-click the Image element and click Load. Click Browse, select an image, and click OK.
    • In the Paragraph element, insert a Text element and enter Tutorials and Advanced Topics.
  8. Select the Table element to add formatting:
    • Click Formatting > specific > table auto fit. Click the ellipses, select autofit to window, and click OK.
    • Click resize to fit contents and deselect the check box to change the option to false.
  9. Select the first Cell to add formatting:
    • Click Formatting > specific > cell alignment. Click the ellipses, select center left, and click OK.
    • Click cell width. Click the ellipses, enter 175, and click OK.
  10. Select the second Cell to add formatting:
    • Click Formatting > specific > cell alignment. Click the ellipses, select center, and click OK.
    • Click cell width. Click the ellipses, enter 150, and click OK.
    • Select the first Text element and click Formatting > font > bold. Select the check box to the option to true.
  11. Select the third Cell to add formatting:
    • Click Formatting > specific > cell alignment. Click the ellipses, select center right, and click OK.
    • Click cell width. Click the ellipses, enter 175, and click OK.
  12. Save the changes.

After these elements are created, the footer element in the template looks like this:

Footer example.

Generate the output and look for the footer at the bottom of the section:


Feedback