# 将新侧边栏从左侧切换到右侧（英文论坛）

**URL:** <https://meta.discourse.org/t/switch-the-new-sidebar-from-left-to-right-side-english-forum/256239>\
**Category:** Feature\
**Tags:** sidebar\
**Created:** [2023年二月25日 13:16 UTC](https://meta.discourse.org/t/switch-the-new-sidebar-from-left-to-right-side-english-forum/256239 "2023-02-25T13:16:06Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**Post date:** [2023年三月18日 17:02 UTC](https://meta.discourse.org/t/switch-the-new-sidebar-from-left-to-right-side-english-forum/256239/19 "2023-03-18T17:02:35Z")

</div>

我的意思是，结合将面板移到右侧的 @Lhc_fl 组件。研究我链接的组件中的代码，您或许可以将汉堡菜单放回搜索和个人资料之间。如果我理解了您的要求以及 Lhc\_fl 当前的解决方法存在的问题。

因为它已经使用了代码来移动菜单，所以代码中可能包含一些细节，可以作为修改的示例，以达到您想要的效果。

在移动设备上，您的截图显示的是您在桌面模式下想要的位置。

有经验的人或许可以提取移动设备上使用的代码，并将其应用于桌面设备。可以通过研究桌面设备在加载移动视图网站时检查元素来实现。

关于宽度，有一个新的组件可以更改网站宽度，这或许值得探索。

> [@Discourse Custom Width](https://meta.discourse.org/t/discourse-custom-width/256171):
>
> information_sourceSummary Set a custom width for your Discourse forumeyeglassesPreview [Theme Creator](https://discourse.theme-creator.io/theme/Canapin/custom-discourse-width) (1400px width)hammer_and_wrenchRepository [GitHub - Canapin/Discourse-custom-width: Set a custom width for your Discourse site.](https://github.com/Canapin/Discourse-custom-width)questionInstall Guide [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component This very simple theme component has a single setting tha…

---

_[View the full topic](https://meta.discourse.org/t/switch-the-new-sidebar-from-left-to-right-side-english-forum/256239)._
