> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/form-management/style-branding/style-editor/style/header-footer.md). Agents can also search and read this documentation through its [MCP server](https://docs.ngsurvey.com/~gitbook/mcp).

# Header / Footer

## 👨‍🎨️ What are header or footer

Headers and footers are custom design parts that will always be displayed either on top of your survey or at the bottom of it.&#x20;

## ➕ How to add a header or a footer

Once you are in the edit style mode you can customize the header and footer with the design of your choice.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MFZ0wKlQsVBudVmj7uL%2F-MFZ63olBwa9QOoD48qY%2Fcaptured%20\(40\).gif?alt=media\&token=69646c25-55ca-4b48-92ca-abe86ee0151e)

## 📱 Headers / footers and responsive design

Using the target device you can setup different headers or footers for different devices. As such you can set a different header or footer for any of the available target device to display one given header for desktop users and another header for mobile users.

To set a header or footer for a specific device just select that device from the target device pane below and then edit the header or footer.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBcCuPDIHhVdICAFGdS%2F-MBcEodmnQla7XzmYE8L%2Fimage.png?alt=media\&token=4236df6a-0032-49e8-810c-09a819bf04e3)

{% hint style="info" %}
If you want to remove a header or footer for a given device clear the header and footer content to reset back its content to the main header / footer design
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/form-management/style-branding/style-editor/style/header-footer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
