> For the complete documentation index, see [llms.txt](https://docs.civictheme.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.civictheme.io/content-authoring/content/alert.md).

# Alert

Alerts provide information for site users using a horizontal bar at the top of the screen. Common examples are announcements, notices, warnings, downtime alerts or any other alerts that you want your site visitor to see right away at the top of the page.

<figure><img src="https://3596844540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F79QhtrrFEncRGId6RF6A%2Fuploads%2Fgit-blob-a58113067603e3679b40bad243596e5805c6efbc%2F4870b026-88ac-415b-b540-8c7511c23a29.png?alt=media" alt=""><figcaption></figcaption></figure>

Depending on which "type" you select, the Alert background colour will be different:

<figure><img src="https://3596844540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F79QhtrrFEncRGId6RF6A%2Fuploads%2Fgit-blob-16482d20a46c390c85ba247d0c697d8337c4a5a2%2Fe540d074-438c-4cdb-bbfe-29e1b0ac7aae.png?alt=media" alt=""><figcaption></figcaption></figure>

Alerts can be set to appear on all pages on the site or only on selected paths. They can also be scheduled to appear only within a specific date range.

Once a website user dismisses an Alert by pressing on the close Button (x), the alert will no longer appear when a user visits this page again. The alert, however, will be displayed again if the content changes (e.g. if some important information needs to be added to an existing Alert).


---

# 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.civictheme.io/content-authoring/content/alert.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.
