How to Keep Word Headers and Footers in the Same Position Across Sections on Mac
Question details
The user needs to maintain consistent positions for headers and footers across multiple document sections that have different page margins in Microsoft Word for Mac.

- Product
- Microsoft Word for Mac
- Device & OS
- Mac
- Scenario
- Formatting a complex document with multiple sections (e.g., varying margins) where headers and footers need to align uniformly across all pages.
- Observed behavior
- Headers and footers shift positions when page margins change between sections, requiring manual adjustment to keep them in the exact same location on every page.
Before making precise adjustments, ensure that you have finalized the main text layout and page margins for each section to avoid having to re-align your headers and footers multiple times.
Manually Adjust Header and Footer Margins for Each Section
This is the standard method for controlling header and footer positions when document section margins differ.
By unlinking sections and setting custom distances from the edge of the page, you can lock the header and footer into identical positions regardless of the main body's margins.
Navigate to the Layout tab on the ribbon, click on Breaks, and insert a Section Break (Next Page or Continuous) where the layout needs to change.
Double-click into the header or footer area in your newly created section to open the Header & Footer tab. Click 'Link to Previous' to disable it, breaking the connection to the previous section.
Go to the Layout tab, click Margins, and select Custom Margins at the bottom of the dropdown list.
In the Page Setup dialog, define the exact distance from the edge for both the Header and Footer. Ensure 'Apply to' is set to 'This section', then click OK. Repeat this process for each unique section.

Use a VBA Macro to Automate Layout Changes
Best for large documents with many sections where manual adjustments are too time-consuming.
Easily Manage Headers, Footers, and Sections with WPS Office
WPS Writer offers an intuitive interface for managing complex document layouts, including section breaks, custom margins, and headers/footers. It's fully compatible with Microsoft Word formats, allowing you to edit your Mac documents seamlessly and with fewer clicks.
- 1. Open your document: Launch WPS Writer on your Mac and open your document.
- 2. Insert section breaks: Go to the 'Page Layout' tab, click on 'Breaks', and choose 'Section Break' where required.
- 3. Unlink the section: Double-click the header or footer area to reveal the Header and Footer tab, and uncheck the 'Link to Previous' button.
- 4. Adjust header positioning: Use the 'Header and Footer Options' settings right in the ribbon toolbar to set exact numerical distances for your headers across sections.

Frequently Asked Questions
Why do my headers shift when I change page margins?
Headers and footers are positioned relative to the physical edge of the page. However, if the main document's top or bottom margins are smaller than the header/footer distance, the body text area can push into the header space, causing visual shifts between sections.
What does 'Link to Previous' do in Word for Mac?
The 'Link to Previous' feature tells Word to use the exact same header or footer content and formatting as the preceding section. Disabling it allows you to customize the position, text, and margins of the header/footer independently for the current section.
Is there a way to apply the same margin to all sections at once?
Yes. Press Cmd + A to select the entire document, navigate to Layout > Margins > Custom Margins, and set your desired top and bottom margins. Ensure the 'Apply to' dropdown menu at the bottom of the dialog box is set to 'Whole document' before clicking OK.




