Attach custom header and footer by page
With this option you can use different headers and footers on different pages of your website. For example you can create three different headers and use the first one for home page, the second one for about page and the third one for contact page.
To attach your specific header or footer templates by page follow the next few steps.
On WP Admin sidebar navigate to Pages > All Pages and edit the page where you want to attach custom header or footer template.
Locate the Layout Settings section and select your Header and Footer template from the dropdown list. Save the changes.