<metaname="description"content="Insert headers and footers into your document, add different headers and footer to the first page or odd and even pages"/>
<p>To add or remove a new header/footer, or edit one that already exists <ahref="https://www.onlyoffice.com/document-editor.aspx"target="_blank"onclick="onhyperlinkclick(this)"><b>Document Editor</b></a>,</p>
<li>change the current parameters for headers or footers on the right sidebar:
<p><imgalt="Right Sidebar - Header and Footer Settings"src="../images/right_headerfooter.png"/></p>
<ul>
<li>Set the <b>Position</b> of the text: to the top for headers or to the bottom for footers.</li>
<li>Check the <b>Different first page</b> box to apply a different header or footer to the very first page or in case you don't want to add any header/ footer to it at all.</li>
<li>Use the <b>Different odd and even pages</b> box to add different headers/footer for odd and even pages.</li>
<li>The <b>Link to Previous</b> option is available in case you've previously added <ahref="../UsageInstructions/SectionBreaks.htm"onclick="onhyperlinkclick(this)">sections</a> into your document. If not, it will be grayed out. Moreover, this option is also unavailable for the very first section (i.e. when a header or footer that belongs to the first section is selected). By default, this box is checked, so that the same headers/footers are applied to all the sections. If you select a header or footer area, you will see that the area is marked with the <b>Same as Previous</b> label. Uncheck the <b>Link to Previous</b> box to use different headers/footers for each section of the document. The <b>Same as Previous</b> label will no longer be displayed.</li>
<p>To enter a text or edit the already entered text and adjust the header or footer settings, you can also double-click anywhere on the top or bottom margin of your document or click with the right mouse button there and select the only menu option - <b>Edit Header</b> or <b>Edit Footer</b>.</p>
<p>To switch to the document body, double-click within the working area. The text you use as a header or footer will be displayed in gray.</p>
<pclass="note"><b>Note</b>: please refer to the <ahref="InsertPageNumbers.htm"onclick="onhyperlinkclick(this)">Insert page numbers</a> section to learn how to add page numbers to your document.</p>