# 如何隐藏汉堡菜单中的“最新”、“热门”、“徽章”和“类别”？

**URL:** <https://meta.discourse.org/t/how-can-hide-the-latest-top-badges-and-categories-in-the-hamburger-menu/177740>\
**Category:** Support\
**Created:** [2021年一月30日 00:59 UTC](https://meta.discourse.org/t/how-can-hide-the-latest-top-badges-and-categories-in-the-hamburger-menu/177740 "2021-01-30T00:59:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2021年一月30日 01:50 UTC](https://meta.discourse.org/t/how-can-hide-the-latest-top-badges-and-categories-in-the-hamburger-menu/177740/2 "2021-01-30T01:50:15Z")

</div>

您可以通过 CSS 实现（在“管理 \> 自定义 \> 主题”下添加）

这将解决问题：

```css
.hamburger-panel .menu-panel {
  a.latest-topics-link,
  a.top-topics-link,
  a.badge-link,
  li a.categories-link { 
    display: none
  }
}

```

如果您需要更多关于 CSS 的帮助，我们有一份指南可供参考：[Making custom CSS changes on your site](https://meta.discourse.org/t/how-to-make-css-changes-on-your-site/168101/1)

---

_[View the full topic](https://meta.discourse.org/t/how-can-hide-the-latest-top-badges-and-categories-in-the-hamburger-menu/177740)._
