# 如何控制侧边栏菜单部分的顺序？

**URL:** <https://meta.discourse.org/t/how-to-control-the-order-of-menu-sections-in-the-sidebar/383384>\
**Category:** Support\
**Tags:** sidebar\
**Created:** [2025年九月20日 14:18 UTC](https://meta.discourse.org/t/how-to-control-the-order-of-menu-sections-in-the-sidebar/383384 "2025-09-20T14:18:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Aurora](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aurora/32/523140_2.png) [@Aurora](https://meta.discourse.org/u/Aurora)\
**Post date:** [2025年九月20日 16:07 UTC](https://meta.discourse.org/t/how-to-control-the-order-of-menu-sections-in-the-sidebar/383384/6 "2025-09-20T16:07:08Z")

</div>

这里似乎也曾讨论过这个问题——但这也不起作用

> [@How to sort nav menu sections?](https://meta.discourse.org/t/how-to-sort-nav-menu-sections/289656/3?u=aurora):
>
> Hi @Lilly wave I used your CSS code to rearranged the order of the nav sections. It works well when the webpage in the full size. However, I try to resize the webpage to a smaller width, the order settings in the CSS code are invaild. The last section turned to the second just like the following pic: I found that the display: block; property of the sidebar-sections prevents the order from having an effect. Then, I try to add some code to the CSS code. .sidebar-sections…

---

_[View the full topic](https://meta.discourse.org/t/how-to-control-the-order-of-menu-sections-in-the-sidebar/383384)._
