> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/content-designers/building-pages-with-drupal-canvas/templates-and-page-types/add-a-button-to-the-header.md).

# Add a Button to the Header

The header and footer live in the page template, so a button added there shows on every page. This is how to add one, such as "Donate", and check it before it goes live. It needs the **Administer page template** permission, held by **Site Admin** and **Super Admin** by default.

## Steps

1. In the editor, open **Layers**. Click the locked page template layer at the top, or open **Templates** \ ***Page templates***, to open the template on its own. A **Page content** marker shows where each page's content goes.
2. Select the header. On a Varbase Starter site it holds the logo, the main menu and the search control.
3. In **Layers**, expand **Header** and select **Main navigation**. In the **Library**, search for `Button`, right-click it and choose **Insert**: it lands next to the main menu. Set its **Label** (such as "Donate"), its **Link URL** and its **Variant**.
4. Switch the preview to **Mobile**: the menu folds into a button, and the new button must still fit beside the logo.
5. Open **Review changes**. The header change is listed on its own, so you can publish it, or a page, without the other. Publish when it has been reviewed. If the template was marked **Changed** before you edited it, see the warning in [Page Templates](https://docs.varbase.vardot.com/content-designers/building-pages-with-drupal-canvas/page-templates.md).

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-edb1967082324e1177b1d52da9d124a5b2fe5790%2Flearn-09-theme-canvas-page-templates-setting.png?alt=media" alt="The Vartheme BS5 theme settings with the Drupal Canvas group open and Use Drupal Canvas for page templates in this theme switched on"><figcaption><p>Drupal Canvas Page Templates Switched On in the Theme</p></figcaption></figure>

Footer changes work the same way: the copyright line, social links, a newsletter sign-up. Legal links usually come from a menu. See [Page Templates](https://docs.varbase.vardot.com/content-designers/building-pages-with-drupal-canvas/page-templates.md).

## Questions Clients Ask

* **Who can change the footer?** Roles with **Administer page template**: **Site Admin** and **Super Admin** by default.

## Planning Notes

* Agree header and footer contents in discovery: logo, menu items, one main call to action, search, legal links, social channels, newsletter. Legal and communications people are involved.
