# 自定义顶部导航链接组件在移动端似乎已损坏

**URL:** <https://meta.discourse.org/t/custom-top-navigation-link-component-seems-to-be-broken-on-mobile/407511>\
**Category:** Bug\
**Tags:** top-navigation-links\
**Created:** [2026年七月13日 21:33 UTC](https://meta.discourse.org/t/custom-top-navigation-link-component-seems-to-be-broken-on-mobile/407511 "2026-07-13T21:33:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2026年七月13日 21:33 UTC](https://meta.discourse.org/t/custom-top-navigation-link-component-seems-to-be-broken-on-mobile/407511/1 "2026-07-13T21:33:55Z")

</div>

@akanora 在另一个话题中提到，该组件在移动端对他们不起作用：

> [@akanora](#):
>
> 我确实尝试过自定义顶部导航链接组件，但它导致该部分在移动端完全不显示。

我可以通过 [主题创建器预览](https://discourse.theme-creator.io/theme/Discourse/custom-top-navigation-links) 复现该问题：

在我的笔记本电脑上显示正常：

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/3/b/33bfb76754466ee2df41ef775277e273c51eb7e8.png)

但在我的手机上，顶部没有导航栏：

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/8/3/a83c760348655e0a9c486ae42bfdd09678d6254f.png)

* * *

我还想知道，隐藏类别面包屑导航似乎仅在我登录时才有效，这是否是有意为之？在我未登录时，它们是可见的：

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/7/5/a75869eea425f184d9578cd15c4ab40a6cb8d212.png)

---

_[View the full topic](https://meta.discourse.org/t/custom-top-navigation-link-component-seems-to-be-broken-on-mobile/407511)._
