# \#tag-banners

**URL:** https://meta.discourse.org/tag/tag-banners/559.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [使标签横幅也显示在被标记的主题页面上](https://meta.discourse.org/t/make-tag-banner-also-appear-on-tagged-topic-pages/395265)

<div class="topic-metadata">

**Author:** [@Eman\_Ahmed](https://meta.discourse.org/u/Eman_Ahmed)\
**Replies:** 15\
**Last updated:** [2026 年4 月 7 日 11:31 UTC](https://meta.discourse.org/t/make-tag-banner-also-appear-on-tagged-topic-pages/395265 "2026-04-07T11:31:39Z")

</div>

大家好 我想知道是否可以在每个标签中放置一个表单，其中主题顶部包含客户的必要详细信息，比如作为标签。 这个表单可以添加到多个主题中并显示……

---

## [在标签横幅中支持翻译后标签的图标](https://meta.discourse.org/t/support-tag-icons-for-translated-tags-in-tag-banners/399840)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**Replies:** 0\
**Last updated:** [2026 年4 月 2 日 21:00 UTC](https://meta.discourse.org/t/support-tag-icons-for-translated-tags-in-tag-banners/399840 "2026-04-02T21:00:38Z")

</div>

在英文版的组合标签和类别横幅中，标签图标显示在标签前面： 对于翻译后的标签则并非如此：

---

## [标签未在标签横幅中显示](https://meta.discourse.org/t/tags-are-not-shown-in-tag-banners/399813)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**Replies:** 2\
**Last updated:** [2026 年4 月 2 日 17:32 UTC](https://meta.discourse.org/t/tags-are-not-shown-in-tag-banners/399813 "2026-04-02T17:32:25Z")

</div>

标签横幅今天看起来有点空

---

## [组合分类/标签横幅中标签图标颜色不一致](https://meta.discourse.org/t/inconsistent-tag-icon-color-in-combined-category-tag-banners/395323)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**Replies:** 0\
**Last updated:** [2026 年2 月 5 日 21:14 UTC](https://meta.discourse.org/t/inconsistent-tag-icon-color-in-combined-category-tag-banners/395323 "2026-02-05T21:14:17Z")

</div>

在组合的分类和标签横幅中，标签图标的颜色与文本的颜色不一致。 在浅色模式下，如果横幅是深色的，文本是白色的，这就会成为一个问题。 而在深色模式下，您可以看到一个浅色的图标在……

---

## [组合分类/标签横幅似乎坏了](https://meta.discourse.org/t/the-combined-category-tag-banner-seems-to-be-broken/394172)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**Replies:** 2\
**Last updated:** [2026 年1 月 23 日 18:40 UTC](https://meta.discourse.org/t/the-combined-category-tag-banner-seems-to-be-broken/394172 "2026-01-23T18:40:37Z")

</div>

这曾是它的样子 :warning: 如我在引用的主题中所述，类别横幅和延迟加载的类别配合得不太好。为了测试，最好在输入两个过滤器后重新加载……

---

## [标签图标 + 标签横幅 + 右侧边栏模块](https://meta.discourse.org/t/tag-icons-tag-banners-right-sidebar-blocks/391775)

<div class="topic-metadata">

**Author:** [@Hyteller](https://meta.discourse.org/u/Hyteller)\
**Replies:** 0\
**Last updated:** [2025 年12 月 19 日 19:18 UTC](https://meta.discourse.org/t/tag-icons-tag-banners-right-sidebar-blocks/391775 "2025-12-19T19:18:42Z")

</div>

很高兴看到标签图标能与标签横幅和右侧边栏模块（“热门标签”模块）协同工作。

---

## [标签横幅](https://meta.discourse.org/t/tag-banners/124240)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 8\
**Last updated:** [2025 年9 月 30 日 06:45 UTC](https://meta.discourse.org/t/tag-banners/124240 "2025-09-30T06:45:10Z")

</div>

:discourse2: 概要 Tag Banners 会在访问标签过滤后的主题列表时，在页面顶部显示标签名称和描述（类似于 Category Banners 组件） :eyeglasses: 预…

---

## [Tag Banners插件在过滤视图中会在错误的类别中创建新主题](https://meta.discourse.org/t/tag-banners-plugin-creates-new-topics-in-wrong-category-from-filtered-view/315476)

<div class="topic-metadata">

**Author:** [@Chief-Engineer](https://meta.discourse.org/u/Chief-Engineer)\
**Replies:** 2\
**Last updated:** [2024 年7 月 9 日 19:19 UTC](https://meta.discourse.org/t/tag-banners-plugin-creates-new-topics-in-wrong-category-from-filtered-view/315476 "2024-07-09T19:19:57Z")

</div>

我目前运行的是 3.3.0.beta4-dev (16a8a31c52)，以及最新版本的标签横幅，应该是 9afa40b，但在 Discourse 中除了显示“运行的是最新版本”之外，我找不到其他验证方法。 标签横幅中启用的设置是： 在移动设备上显示 显示标签描述 显示在站点标题下方 启用主题组件后，如果您进入一个分类，筛选到特定标签，然后按下“新主题”按钮，它会打开编辑器，显示正确的标签，但分类会设置为通用分类，而不是您所在的…

---

## [标签的“必需”类别未显示在“类别...”下拉菜单中](https://meta.discourse.org/t/required-category-of-a-tag-not-showing-up-under-category-dropdown/313410)

<div class="topic-metadata">

**Author:** [@ncaming215](https://meta.discourse.org/u/ncaming215)\
**Replies:** 2\
**Last updated:** [2024 年6 月 24 日 18:05 UTC](https://meta.discourse.org/t/required-category-of-a-tag-not-showing-up-under-category-dropdown/313410 "2024-06-24T18:05:40Z")

</div>

好的，所以我到达了极限。这次，我真的希望我遗漏了明显的东西。 设置：我有多个类别，每个类别都有一个必需的标签组。很简单，对吧？你会这么想。 问题：当c…

---

## [Tag Banner 标题文字太小？](https://meta.discourse.org/t/tag-banner-header-text-too-small/302747)

<div class="topic-metadata">

**Author:** [@Gussie](https://meta.discourse.org/u/Gussie)\
**Replies:** 2\
**Last updated:** [2024 年4 月 7 日 12:30 UTC](https://meta.discourse.org/t/tag-banner-header-text-too-small/302747 "2024-04-07T12:30:53Z")

</div>

在我的标签页上，标题（标签名称）的 CSS 似乎被覆盖了，导致它显示为一个较小的名称，而不是一个较大且清晰的名称。我可以在哪里更改或重置此 CSS？字体系列和字体大小似乎…

---

## [主题计时器出现错误？](https://meta.discourse.org/t/topic-timer-causing-error/301748)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**Replies:** 1\
**Last updated:** [2024 年4 月 1 日 14:42 UTC](https://meta.discourse.org/t/topic-timer-causing-error/301748 "2024-04-01T14:42:55Z")

</div>

我在一个私有的暂存类别中设置了一个主题，该主题被设置为使用主题计时器发布到一个公开类别中。但在 3.3.0.beta1 更新后，我遇到了这个错误，并且主题文本消失了。我有 v…

---

## [标签描述中的超链接？](https://meta.discourse.org/t/hyperlink-in-tag-description/248161)

<div class="topic-metadata">

**Author:** [@Jack\_Sparrow](https://meta.discourse.org/u/Jack_Sparrow)\
**Replies:** 6\
**Last updated:** [2023 年11 月 21 日 15:06 UTC](https://meta.discourse.org/t/hyperlink-in-tag-description/248161 "2023-11-21T15:06:13Z")

</div>

我已经安装了 Tag Banner 来设置标签标题和描述。我想在描述中添加一个超链接。有可能吗？HTML/BBcode 不起作用。

---

## [将标签和分类横幅组件一起使用](https://meta.discourse.org/t/use-tag-and-category-banner-components-together/270622)

<div class="topic-metadata">

**Author:** [@markersocial](https://meta.discourse.org/u/markersocial)\
**Replies:** 4\
**Last updated:** [2023 年5 月 3 日 16:55 UTC](https://meta.discourse.org/t/use-tag-and-category-banner-components-together/270622 "2023-05-03T16:55:31Z")

</div>

非常出色的主题组件！是否有一种方法可以为同时使用分类和标签的列表显示横幅？

---

## ['tag-banner' 类在切换页面时未被移除](https://meta.discourse.org/t/tag-banner-class-not-being-removed-when-navigating-away/270629)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 0\
**Last updated:** [2023 年1 月 23 日 21:01 UTC](https://meta.discourse.org/t/tag-banner-class-not-being-removed-when-navigating-away/270629 "2023-01-23T21:01:34Z")

</div>

我正在设置一个想要调整 main-outlet 的顶部内边距的设置，并且看到组件上有这个声明： .tag-banner #main-outlet { padding-top: 1.5em; } 该组件添加了 tag-banne 类…

---

## [为标签横幅中的标签名称进行大写处理](https://meta.discourse.org/t/capitalizing-tag-names-in-tag-banners/270627)

<div class="topic-metadata">

**Author:** [@markersocial](https://meta.discourse.org/u/markersocial)\
**Replies:** 3\
**Last updated:** [2022 年8 月 10 日 16:07 UTC](https://meta.discourse.org/t/capitalizing-tag-names-in-tag-banners/270627 "2022-08-10T16:07:18Z")

</div>

此组件现在与类别横幅配合得非常好 :slight\_smile: 类别（或子类别）+标签将同时显示类别和标签横幅。真的很棒，谢谢 @awesomerobot! :100: :partying\_face: ……

---

## [启用‘移除标签连字符’时，横幅不显示。](https://meta.discourse.org/t/banner-doesnt-show-when-remove-tag-hyphen-is-enabled/270625)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**Replies:** 4\
**Last updated:** [2022 年8 月 10 日 15:19 UTC](https://meta.discourse.org/t/banner-doesnt-show-when-remove-tag-hyphen-is-enabled/270625 "2022-08-10T15:19:01Z")

</div>

我在两个实例中都遇到了此问题：当标签包含连字符且“移除标签连字符”功能已启用时，横幅不显示。

---

## [为标签横幅添加精选主题](https://meta.discourse.org/t/adding-a-featured-topic-to-a-tag-banner/270626)

<div class="topic-metadata">

**Author:** [@attj](https://meta.discourse.org/u/attj)\
**Replies:** 0\
**Last updated:** [2022 年7 月 30 日 10:44 UTC](https://meta.discourse.org/t/adding-a-featured-topic-to-a-tag-banner/270626 "2022-07-30T10:44:28Z")

</div>

你好，是否可以修改这个主题，使其在进入带有该标签的主题时也显示横幅？这是一个简单的添加吗？ 我正在尝试修改此主题以在横幅中包含一个特色主题……

---

## [在标签横幅中包含标签描述](https://meta.discourse.org/t/include-tag-descriptions-in-tag-banners/270624)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**Replies:** 3\
**Last updated:** [2022 年2 月 15 日 22:14 UTC](https://meta.discourse.org/t/include-tag-descriptions-in-tag-banners/270624 "2022-02-15T22:14:53Z")

</div>

既然标签描述已经正式成为一项功能，那么标题栏最好能同时显示名称和描述，而不是只显示名称。

---

## [移动视图中的横幅文本被推到顶部](https://meta.discourse.org/t/banner-text-gets-pushed-to-top-in-mobile-view/270628)

<div class="topic-metadata">

**Author:** [@markersocial](https://meta.discourse.org/u/markersocial)\
**Replies:** 1\
**Last updated:** [2023 年7 月 5 日 10:35 UTC](https://meta.discourse.org/t/banner-text-gets-pushed-to-top-in-mobile-view/270628 "2023-07-05T10:35:28Z")

</div>

刚注意到，我认为移动设备上的标签横幅存在一个问题。标签文本被推到了横幅的顶部。我附上了主题创建者预览的截图。在 Discourse 上也出现了同样的情况…
