固定侧边栏菜单是一个垂直菜单,固定在页面旁边。在 Publish 步骤中,请选择它位于哪一侧,以及它在手机上的显示方式。
1打开 Publish
打开 Publish(第 5 步),然后点击 Turn on。窗口分为两个部分:Desktop 和 Mobile。
Publish
DesktopThe sidebar is always pinned on this side and pushes the page over.
Left
Right
MobileHow the sidebar shows on phones.
Like Hamburger MenuA slide-out drawer with ✕. Choose below how shoppers open it.
Pinned leftA narrow icon bar always pinned to the screen edge. No menu icon needed.
Pinned rightA narrow icon bar always pinned to the screen edge. No menu icon needed.
2在桌面端选择一侧
在 Desktop 下,选择 Left 或 Right。侧边栏会固定在该侧,并将页面推开。
Publish
DesktopThe sidebar is always pinned on this side and pushes the page over.
Left
Right
MobileHow the sidebar shows on phones.
Like Hamburger MenuA slide-out drawer with ✕. Choose below how shoppers open it.
Pinned leftA narrow icon bar always pinned to the screen edge. No menu icon needed.
Pinned rightA narrow icon bar always pinned to the screen edge. No menu icon needed.
3选择在手机上的显示方式
在 Mobile 下,选择 Like Hamburger Menu(抽屉式),或 Pinned left / Pinned right(始终可见的固定图标栏)。
Publish
DesktopThe sidebar is always pinned on this side and pushes the page over.
Left
Right
MobileHow the sidebar shows on phones.
Like Hamburger MenuA slide-out drawer with ✕. Choose below how shoppers open it.
Pinned leftA narrow icon bar always pinned to the screen edge. No menu icon needed.
Pinned rightA narrow icon bar always pinned to the screen edge. No menu icon needed.
Bar width (px)80
Show a button to hide the bar- Like Hamburger Menu(类似汉堡菜单):仍需要打开按钮。请在下方的章节中选择一个,参见选择菜单的打开方式。
- Pinned left / Pinned right(固定在左侧 / 右侧):不需要打开按钮。调整 Bar width(栏宽,px),并开启 Show a button to hide the bar(显示用于隐藏栏的按钮),以便顾客收起该栏。
想更改宽度、与页面的边缘,或桌面端子菜单的展开方式?参见侧边栏。
需要了解的更多内容
栏应该多宽?
最宽为 120px 时,栏中会显示带小字的图标。子菜单会在栏旁边以面板形式展开。