A PDF that looks wrong after you use “Add header and footer” can be corrected by creating a fresh copy from the source with revised font size, edge margin, or line text, then checking the newest download. Header Footer PDF adds centered lines as new content inside the existing page boxes; it does not rebuild the body layout or reserve room for them.
Start by identifying the symptom: the new line overlaps existing content, appears smaller than requested, sits too close to an edge, shows an unexpected page number, or fails to appear. Each symptom requires a different adjustment, and changing a setting requires a newly created file.

Correct the result in a fresh run
Keep the original PDF as the starting point instead of adding another layer to the stamped copy. The Header Footer PDF workflow creates a new copy, and changing any setting revokes the previous download.
- Choose the original local PDF. It must be a non-empty PDF no larger than 25 MiB. Do not bypass an error for an encrypted, damaged, unsupported, oversized, or incorrectly labeled file.
- Re-enter the required header or footer text. Each field is trimmed and limited to 120 Unicode characters. If the line contains a page number, use the exact lowercase tokens {page} and {pages}.
- Set the font size and edge margin. Font size accepts whole values from 6 to 36 points, while edge margin accepts whole values from 0 to 200 points. For an overlapping line, start with a smaller font size; for placement, adjust the margin.
- Select “Add header and footer.” The browser opens the source, draws the expanded line on each page, creates a new PDF, and makes it available for download.
- Compare the newest output with the source. Check the first, last, and narrowest pages, along with pages containing body text, logos, or crop marks near an edge. Look for collisions and confirm that the numbering changed as intended.
- Change one setting at a time and create the file again. A revised font size, margin, header, or footer may require another pass. Do not distribute an older download after changing the configuration.
Loading, font embedding, drawing, saving, and download creation happen locally in the browser. The source and generated bytes are not uploaded to Lizely. A stale asynchronous job cannot replace a newer file or text choice, so the newest completed download is the relevant result.
Know the fixed rules before retrying
These fixed limits help explain why a corrected attempt may look different from what you initially expected.
| Part | Fixed rule |
|---|---|
| Source file | One non-empty local PDF no larger than 25 MiB |
| Added content | One optional header line and one optional footer line |
| Text length | Each field is trimmed and limited to 120 Unicode characters |
| Typeface | Embedded standard Helvetica with a practical Latin character set |
| Font size | Whole values from 6 to 36 points; width fitting may reduce the size |
| Edge margin | Whole values from 0 to 200 points |
| Alignment | Each added line is horizontally centered |
| Number tokens | Only the exact lowercase tokens {page} and {pages} are replaced |
| Output | A new PDF whose filename base ends with -header-footer.pdf |
These are fixed operating rules rather than optional preferences. A request for a different alignment, a multi-line label, or typography outside the supported font cannot be solved by moving the same controls to another value.
Diagnose the wrong-looking result
Use the visible symptom to choose a correction rather than repeatedly changing every setting at once.
| What you see | Cause to check | Corrective action |
|---|---|---|
| The new line crosses body text or an edge graphic | The tool draws inside the existing page box without creating white space | Shorten the line or reduce the font size, then test a different margin |
| The line is smaller than the selected size | The text was too wide for the usable page width | Accept the reduction or shorten the text; 6 points is the minimum |
| The line is too close to the edge or too far inward | Header and footer placement follows the fixed edge margin | Regenerate with another margin value between 0 and 200 points |
| The page number is unexpected | Numbering always begins at one and covers every structural page | Use the supported tokens and adjust the intended label |
| Creation fails after unusual characters are entered | Standard Helvetica cannot encode every writing system or emoji | Use supported characters or move the job to a desktop publishing application |
| The downloaded file still shows old settings | The former download was revoked after a setting changed | Create the file again and use only the newest completed download |
| The source PDF is rejected | The file violates a size, format, encryption, or integrity condition | Confirm that it is a valid, non-empty PDF within the supported limit |
If existing body content seems to have disappeared, compare the source with the newest output at the same viewing zoom. Existing visible content remains in place, but an added line can overlap it, and opening an earlier download can make the result appear unchanged.
Resolve overlap and width problems
The header is positioned below the top edge using the selected margin and font size, while the footer begins above the bottom edge using the selected margin. Both lines are centered from their measured text width in the embedded Helvetica font. Increasing the edge margin moves a line farther inward; decreasing it moves the line closer to the edge.
Because the tool cannot detect where body content ends, there is no automatically safe margin. If an added line overlaps content, shorten the text or reduce the font size first, then test the margin separately. A larger margin can place the line deeper into an occupied page area, while a smaller margin can create a different visual balance without changing the centered alignment.
When a line is too wide, the tool reduces its font size one point at a time down to a 6-point floor. It does not stretch, wrap, or silently remove the text. Very narrow pages or excessive margins can leave little usable space, so a shorter line and a less excessive margin may be necessary. If precise placement, multilingual branding, custom fonts, or exact typography are required, use a desktop publishing application that can embed the appropriate licensed font.
Check numbering and page coverage
Place {page} for the current page and {pages} for the total structural page count. For example, Page {page} of {pages} becomes Page 2 of 5 on the second page of a five-page source document. Replacement is deterministic, applies wherever the exact lowercase token appears, and leaves other brace text unchanged.
Headers and footers are applied uniformly to every structural page. Numbering always starts at one, and the total reflects the source before any text is added. There is no cover-page exclusion, starting-number offset, Roman-numeral mode, or separate odd-and-even treatment. The original page count and page order remain unchanged, so if you expected a cover to remain unnumbered or numbering to restart in a section, that expectation falls outside the tool’s supported workflow.
Handle file and character errors
Encrypted, damaged, unsupported, oversized, and incorrectly labeled files produce a visible error and are not bypassed. The source must be a non-empty PDF no larger than 25 MiB. If you see an encoding failure, remove characters that the embedded standard Helvetica cannot represent; the tool fails visibly rather than claiming success with missing glyphs.
Standard Helvetica supports a practical Latin character set but not every writing system or emoji. The tool also does not read the document’s language or automatically choose a substitute font. For a branded multilingual label that requires exact glyphs, use a desktop publishing application with the required licensed font rather than expecting a silent substitution in this workflow.
Verify the corrected PDF before distribution
Open the newest download, whose filename keeps the source filename base and adds -header-footer.pdf. Confirm that the original visible content, page order, and page count remain in place, then inspect the added line on every page. For a critical document, check each page rather than relying only on a first-page preview.
Pay particular attention to pages with content near an edge, unusually narrow pages, and the final page. Verify that the footer token renders correctly on each page and that no line competes with a logo, crop mark, annotation, or body element. If the output still does not meet a precise publishing standard, keep the browser result for simple centered labels and use a desktop layout application when custom space, fonts, or page-specific treatment are required.
For a deeper look, see Is Adding a Watermark to a PDF Online Safe?.
For a deeper look, see What Can Go Wrong When You Compress a PDF to Size?.