How to Fix PDF Header Disappearing in Viewers After Saving
Question details
The user added a header to a scanned PDF, but the header disappears when the saved file is opened in certain third-party viewers.

- Product
- Device & OS
- not provided
- Scenario
- Sharing or viewing a scanned PDF document after adding headers to all pages.
- Observed behavior
- The newly added header is perfectly visible during editing and printing, but vanishes when the saved document is opened in some third-party PDF viewers.
Before flattening your PDF, make sure to save a backup copy of your original editable document. Flattening merges the header into the main page content, making it difficult or impossible to edit or remove later.
Flatten the PDF Document
By flattening the PDF, the header is merged with the main page content, ensuring it displays correctly across all PDF viewers and third-party applications.
Some lightweight PDF viewers or third-party apps struggle to render overlay layers like headers, footers, and annotations correctly. Flattening the file converts these layered interactive elements into permanent, standard page content so they can never be hidden or dropped by basic viewers.
Open your PDF document containing the header in your preferred advanced PDF editor.
Navigate to the tools or document menu and look for a 'Flatten', 'Flatten PDF', or 'Print to PDF' option.
Apply the flattening process. If using the Print method, select 'Microsoft Print to PDF' or a similar virtual printer from your printer list and click Print.
Save the newly flattened document under a different filename to preserve your original, layered, editable file.

Ensure PDF Headers Are Visible Everywhere with WPS Office
WPS Office offers a robust PDF editor that allows you to easily add headers, footers, and flatten your documents through its virtual printer, ensuring your PDF elements render properly on any device.
- 1. Open your PDF in WPS Office: Launch WPS Office and open the PDF file that has the disappearing header issue.
- 2. Use the Print Function: Click on 'Menu' and select 'Print', or simply press Ctrl+P on your keyboard.
- 3. Select Print to PDF: Choose 'WPS PDF' or 'Microsoft Print to PDF' as your designated printer, which will flatten the document layers.
- 4. Save the Flattened File: Click 'Print' and specify a new location and filename to save the flattened PDF permanently.

Frequently Asked Questions
Why do PDF headers disappear in some viewers but not others?
Headers and footers are often added as separate overlay layers on top of the document. Some lightweight, mobile, or third-party PDF viewers do not support rendering these advanced dynamic layers, causing the headers to be invisible when viewed.
Can I edit a header after flattening the PDF?
No, flattening merges the header text or image directly into the background page content. Once flattened, you cannot easily edit or remove the header via header/footer tools, which is why saving an unflattened backup is crucial.
Does 'Print to PDF' achieve the same result as flattening?
Yes. Printing a document using a virtual PDF printer (like 'Print to PDF') effectively flattens all visible layers, annotations, and headers into a single, flat page layer, making it universally viewable.
Will flattening my PDF reduce its file size?
It depends on the document's contents. Flattening removes interactive elements and hidden layers, which can sometimes reduce file size. However, if the flattening process converts vector text to images, it might increase the size.




