# 如何创建欢迎横幅/区域？

**URL:** https://meta.discourse.org/t/how-to-create-a-welcome-banner-section/204882
**Category:** Support
**Created:** [2021年九月30日 15:59 UTC](https://meta.discourse.org/t/how-to-create-a-welcome-banner-section/204882 "2021-09-30T15:59:53Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2021年九月30日 16:10 UTC](https://meta.discourse.org/t/how-to-create-a-welcome-banner-section/204882/2 "2021-09-30T16:10:28Z")

</div>

这个问题最近刚被问过，我认为 Meta 的那个是一个特例，但你可以使用 [Versatile Banner](https://meta.discourse.org/t/versatile-banner/109133) 来实现类似的效果：

> [@Steven](#):
>
> 这是一个自定义主题组件：[GitHub - discourse/discourse-meta-banner](https://github.com/discourse/discourse-meta-banner)
> 
> 但我觉得最好使用专为公众设计的主题组件，这样更易于编辑和自定义：
> 
> > [@](#):
> >
> > 该主题组件是先前横幅工作的演进。其目标是通过使用主题设置来提供更多便利和灵活性。[[Banner\_Theme]](https://global.discourse-cdn.com/meta/original/3X/7/6/766c158c59091c01040250d023e0dee29b85e704.jpeg) [[mobile\_demo]](https://global.discourse-cdn.com/meta/original/3X/a/a/aab7e484ff40f549f280e20252261df97d3342ff.gif) 以下是其功能亮点：限制仅对登录用户或匿名用户显示；限制仅针对移动端或桌面端显示；限制仅针对特定页面显示；可关闭、可展开且始终可见的选项；全浏览器宽度选项；颜色管理；使用 HTML 进行标题和列的自定义（参见…

---

_[View the full topic](https://meta.discourse.org/t/how-to-create-a-welcome-banner-section/204882)._
