# 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="/files/HMCyK3O7WecJ2fP9mdfK" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/fj68M4bhOZc7TEiNLFtI" 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.civictheme.io/content-authoring/content/alert.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
