# 如何移除这个置顶的活动/公告横幅？

**URL:** <https://meta.discourse.org/t/how-do-i-remove-this-sticky-event-announcement-banner/275784>\
**Category:** Support\
**Created:** [2023年八月18日 22:20 UTC](https://meta.discourse.org/t/how-do-i-remove-this-sticky-event-announcement-banner/275784 "2023-08-18T22:20:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)\
**Post date:** [2023年八月18日 23:11 UTC](https://meta.discourse.org/t/how-do-i-remove-this-sticky-event-announcement-banner/275784/5 "2023-08-18T23:11:07Z")

</div>

我在这里询问了 Discourse AI - AI Bot，这是提示和完成的内容。

不确定是否正确，但请告知

**提示**

一个横幅显示“`Upcoming Event`”，你能告诉我这是如何创建的以及如何删除它吗？

**完成**

搜索

找到 1 个关于“create remove Upcoming Event banner”的[结果](https://meta.discourse.org/search?q=create+remove+Upcoming+Event+banner)。

搜索

找到 20 个关于“create banner Discourse”的[结果](https://meta.discourse.org/search?q=create+banner+Discourse)。

阅读主题

正在阅读：“[meta.discourse.org 上的横幅是如何创建的？](https://meta.discourse.org/t/how-is-the-banner-at-meta-discourse.org-created/206264)”

Discourse 论坛顶部的横幅，例如您提到的“Upcoming Event”横幅，是使用主题组件创建的。Discourse Meta 上使用的特定主题组件是[欢迎链接横幅](https://meta.discourse.org/t/welcome-link-banner/218743)。

要使用此主题组件，您可以按照以下步骤操作：

1. 从您的 Discourse 实例，转到 **Admin** \> **Customize** \> **Themes** 。
2. 点击 **Install** \> **From a git repository** 。
3. 输入主题组件的 URL ([https://github.com/awesomerobot/discourse-welcome-banner](https://github.com/awesomerobot/discourse-welcome-banner)) 并点击 **Install** 。
4. 安装后，您可以将主题组件添加到您的活动主题中。

该横幅是完全可定制的。您可以从主题组件设置中编辑文本、链接和可见性设置。

要删除横幅：

1. 转到 **Admin** \> **Customize** \> **Themes** 。
2. 点击您的活动主题。
3. 在“ **Theme Components** ”部分下，找到 Welcome Link Banner 并点击 **Remove** 。

请注意，您需要具有管理员权限才能执行这些操作。

> [@EricGT](#):
>
> 输入主题组件的 URL ([https://github.com/awesomerobot/discourse-welcome-banner](https://github.com/awesomerobot/discourse-welcome-banner)) 并点击 **Install** 。

此链接错误，应为

> [@Welcome Link Banner](https://meta.discourse.org/t/welcome-link-banner/218743):
>
> discourse2Summary Welcome Link Banner is a simple banner that allows you to add custom text and 1-4 links.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/welcome-link-banner)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-welcome-link-banner](https://github.com/discourse/discourse-welcome-link-banner)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Settings This component comes with a variety of settings! Name De…

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-remove-this-sticky-event-announcement-banner/275784)._
