跳到主要内容

店铺框架:Logo、公告栏、页眉和页脚

左侧栏的 店铺框架 分组包含包裹你店铺每个页面的部分:你的 Logo 和标签页图标、公告栏、页眉(及其菜单)和页脚。它们是 整个店铺共用的。设置一次样式,就会重新设置每个页面的样式。当你在画布上选中页眉或页脚时,编辑器会显示一张卡片,写着“页眉由你的整个店铺共用”,并带有 打开页眉设置(页脚和公告栏也一样)。

可以从店铺 → 主题或页面编辑器的左侧栏打开它们。菜单里的链接是在店铺 → 菜单里搭建的(见菜单)。

在哪里找​

侧边栏 → 店铺 → 主题,或者在编辑器里打开任意页面,选择 设置 → 主题。打开 店铺框架 分组。

Logo 和标签页图标​

设置作用
标志在页眉和页脚里代表你店铺的图片。
标签页图标显示在浏览器标签页里的小图片。

Logo 会用于店铺页眉、邮件、发票和结账页。标签页图标(favicon)最好使用 32×32 或 64×64 的 PNG 或 ICO。如果你还没有 Logo,侧栏会显示 还没有 Logo。 和 添加 Logo;如果没有分配菜单,会显示 还没有菜单。 和 添加菜单。

公告栏​

页眉上方的一条细消息条,用于促销或通知。

设置作用
公告栏页眉上方的一条细消息条。
公告颜色公告栏背后的标准颜色,或你自己的颜色。
文字颜色公告栏上文字的颜色。留空则自动为你选黑色或白色。
实时优惠券在公告栏上显示一个有效的优惠码。
显示倒计时显示优惠券还剩多长时间。

顶部栏 区块里放着文字内容本身:

设置作用
显示顶部栏在你整个店铺的页眉上方显示这个栏。颜色来自你的主题。
消息 1、2、3最多三条简短的消息(例如“满 $50 免运费”)。每条都可以有一个可选的 链接。
添加消息(最多 3 条) / 移除添加或移除一条消息。没有消息时,这个栏不会显示。
每隔多久切换消息消息轮换的频率:3 秒、5 秒 或 8 秒。
显示于所有页面、首页,或 所选页面(从你的页面列表里选)。
买家可以关闭它让买家关闭这个栏。在你修改这个栏之前,它会在该买家的浏览器里保持关闭。
保存顶部栏 / 丢弃保存你对这个栏的编辑,或者放弃它们。

在任何一条消息里输入提示里显示的代码占位符(“输入 {code} 来显示你优惠券的代码”),编辑器会换成真正的优惠码。一旦优惠券被停用或过期,这个栏会自动隐藏;如果你选的优惠券已不再有效,编辑器会提醒你。管理优惠券 会带你到你的优惠券。

选择页眉样式​

页眉样式 决定整个页眉的外观,以及菜单如何展开。保留我当前的页眉 会让它保持今天的样子。

样式适合点击菜单时
经典适合大多数店铺——简单而熟悉。点击菜单时:链接下方展开一张小卡片。
橱窗适合有大量商品可供浏览的店铺。点击菜单时:一个全宽的店铺橱窗,带分类和商品照片。
居中适合平静、高端的品牌调性。点击菜单时:一个宽面板,链接是大字,旁边有一张照片。
杂志风适合只有几个链接、讲故事的品牌。点击菜单时:一个全屏菜单。
悬浮适合在手机上有现代的、类似应用的感觉。点击菜单时:一张带搜索和你的分组的卡片。

如果你的菜单还没有下拉内容,在菜单项下面有链接之前,这些样式看起来都差不多(“编辑菜单 → 在某一项下面放链接”)。打开 显示我的菜单能做什么(示例),可以用示例照片和价格来预览;它们只在编辑器里显示,绝不会保存,也绝不会出现在你的店铺上。

有些控制项只属于某一种样式:

  • 经典:页眉上方的地址和电话行、按钮、菜单里的照片、手机上的滚动。
  • 橱窗和居中:下拉菜单里的大商品卡片(由我选择 或 我自己选)、每个下拉菜单显示的商品(1 行(4 个)或 2 行(8 个))、菜单旁边的照片。
  • 杂志风和悬浮:始终可见的链接(从无到 3 个,推荐 3 个)和 手机外观(应用外观,带底部标签栏和原生面板,或 与网页一致)。

身份和布局​

设置作用
页眉菜单选一个菜单。到导航页面里搭建它的链接。
显示 Logo在页眉里显示你的 Logo。
Logo 大小Logo 在页眉里有多大。
Logo 形状你的 Logo 的方形、圆角或圆形边角。
显示名称在 Logo 旁边显示你的店铺名称。
店铺名称你店铺的名称。在“设置 › 常规”里修改。
名称颜色页眉里店铺名称的颜色。
显示标语在名称下面显示你的一句话介绍。
标语名称下面关于你店铺的一句话。
标语颜色页眉里标语的颜色。
Logo 位置Logo 靠左、居中、堆叠在菜单上方,或全宽栏。
两侧内边距页眉左右两边的空间。
阴影页眉下方的一条线或阴影。
页眉颜色标准、醒目、柔和,或页眉背后你自己的颜色。

店铺名称在 设置 › 常规 里修改;顶部那一行的地址和电话来自你的品牌设置。

设置作用
链接样式菜单链接在悬停时以及在当前页面上的外观。
菜单位置菜单链接的位置:靠左、居中或靠右。
菜单间距菜单链接之间的留白。
在电脑上菜单链接在电脑上如何展开:自动、下拉、大菜单、抽屉或图块网格。
图块列数下拉菜单显示几列图块。
大菜单列数大的下拉菜单显示几列。
大菜单宽度大的下拉菜单展开多宽。
菜单字重菜单链接里字母的粗细。
悬停时鼠标放在菜单链接上时它的反应。
当前页面访客所在页面的链接如何突出显示。
菜单文字颜色菜单链接的颜色。
悬停颜色菜单链接在悬停时以及在当前页面上的颜色。

如果某个布局放不下你选的菜单类型,编辑器会告诉你它正在显示什么(“目前显示为……空间不足”)。

栏里显示什么​

设置作用
显示搜索页眉里的搜索图标。
显示账户给买家登录的图标。
显示购物车页眉里的购物袋图标,以及手机菜单里的购物车按钮。
显示语言语言选择器。只有当你的店铺有两种或更多语言时才会出现。
显示货币货币选择器。只有当“设置 › 购物车与结账”允许买家选择货币时才会出现。
浅色/深色切换一个太阳/月亮按钮,让买家把你的店铺切换成深色模式。

语言和货币选择器只有在你的店铺提供多于一种时才会出现。

滚动时和透明,以及手机​

设置作用
滚动时访客滚动时页眉怎么做:停留在顶部、隐藏并在向上滚动时回来,或者随页面滚走。
透明仅限首页,你的第一张照片会在页眉下面延伸,菜单变成浅色,直到访客滚动。
手机上的大小仅针对手机上的 Logo 大小。你电脑上的大小保持不变。
菜单侧边手机菜单从哪一侧滑入。
手机上的滚动访客在手机上向下滚动时,页眉是否滑走。

滚动时 提供 保持不动、向上滚动时回来 和 滚走。透明 仅在首页上有效,并且当首页以一张照片开头时效果最好。如果你在某个设备上隐藏了页面标题和菜单,编辑器会告诉你(“你的页面标题和菜单在手机上被隐藏了”),并提供 也在手机上显示。

设置作用
页脚菜单页脚各栏里显示的链接。
列数页脚显示几列链接。
页脚颜色标准、醒目、柔和,或页脚背后你自己的颜色。
页脚样式选择页脚的外观。“与我的页眉一致”会使用为你页眉样式准备的页脚。

页脚样式 选择页脚的外观。与我的页眉一致 使用为你页眉样式准备的页脚。

设计显示什么
与我的页眉一致为你页眉样式准备的页脚。
到访你的地址,带路线和拨号按钮,放在你的链接旁边。
社区一个注册横幅、你的畅销商品,然后是你的链接。
平静居中:Logo、一行链接、联系方式和社交。
故事品牌色带里的按钮、一条照片带,然后是你的链接。
应用一条纤薄的行:Logo、链接和社交。
悬浮所有内容放在一张浮在页面上方的圆角卡片里。
紧凑栏一条纤薄的行:Logo、链接和社交,然后是法律声明行。
分栏 + 订阅你的品牌和一个注册表单,然后每个菜单一栏。
品牌收尾一个带照片的收尾号召、你的链接栏,以及用大号字体显示的店铺名称。
目录谁、在哪、何时:营业时间、一个“获取路线”链接、一张注册卡片、你的链接和信任徽章。
宣言你的标语像海报一样展示、一个按钮,然后是你的链接,像一份大的索引。
底座一个居中的岛:Logo、一行链接、一个注册胶囊和社交图标。

如果某个设计需要你的页脚里还没有的东西(标语、收尾号召、地址、营业时间),编辑器会列出缺少的内容(“底座需要……”),并让你在那里添加,或者选择另一种设计。你写过的任何内容都不会被删除,缺少某一项也不会阻止你发布。

在设计下面,页脚是按顺序排列的 区块 列表。可以添加区块、上移或下移,或者删除每一个。

区块显示什么
品牌Logo(没有 Logo 时是店铺名称)和一小段文字;文字留空则使用你店铺的标语。
菜单栏一个页脚菜单,显示为一栏;选择 哪个菜单 并设置 栏标题。
文字一个标题和你自己写的几句话。
照片页脚里的一张照片。
订阅一个注册表单,带有它自己的标题、文字和 按钮文字。
社交图标来自“设置 › 品牌”的社交链接图标。
联系方式来自你店铺设置的地址、电话和邮箱,另有 营业时间(或 使用我店铺的营业时间)。
信任徽章最多几条简短的信任理由,每条都有一个图标(盾牌、日历、人群、星星、奖项、爱心、时钟或地点)。

底部一行 包含 版权文字(输入年份和店铺占位符,会自动填入)、政策链接(条款和隐私)、支付图标、语言和货币选择器 以及 由 PersonaCart 提供支持。在手机上,页脚可以是 并排(紧凑)、堆叠(展开)或 折叠(折叠面板)。

步骤​

  1. 打开 店铺框架 分组,先从 标志 和 标签页图标 开始。
  2. 打开 公告栏,添加一条消息,选择它显示在哪里。
  3. 选一个 页眉样式,然后选择 页眉菜单,并调整 Logo、菜单和栏里的图标。
  4. 用设备按钮把画布切换到手机和平板,检查菜单和滚动时的页眉。
  5. 选一个 页脚样式,填写它要求的区块,然后发布。见发布。

会发生什么,不会发生什么​

  • 页眉、页脚和公告栏在 每个页面上都一样。单个页面可以在它的页面设置里为自己隐藏它们(此页面的页眉、此页面的页脚)。
  • 菜单里的链接来自菜单;在那里修改菜单,这里就会改变。
  • 你的 Logo、名称、标语、邮箱、电话和社交链接来自你的设置;侧栏会指向正确的位置(“在设置中更改”)。

常见问题​

怎么在落地页上隐藏页眉?

打开那个页面的设置,把“此页面的页眉”设为“隐藏”。公告栏也只会在那个页面上随之隐藏。

买家可以关闭公告栏吗?

可以,只要你打开了“买家可以关闭它”。在你修改这个栏之前,它会在该买家的浏览器里保持关闭。

为什么我的页眉在每种样式下看起来都一样?

各种样式最大的区别在于菜单如何展开。如果你的菜单里没有任何一项下面有链接,就没有可显示的下拉内容,所以在你给某一项添加链接之前,这些样式看起来都差不多。

页脚设计会删除我的页脚内容吗?

不会。切换设计绝不会删除你写的内容;新设计放不下的区块会被保留,并标为“在该设计中不显示”。

完整控制项对照表​

分组控件选项作用
Header MenuHeader Menuselect (menu id, location=header)Which of your menus the header uses. Menus themselves are built under Storefront → Menus.
IdentityShow Logotoggle on/offWhether your logo appears at all. Off suits stores whose name is the wordmark.
IdentityLogo Sizecompact/default/largeHow large the logo renders. Bigger asserts the brand; too big pushes the menu into a cramped second row on mobile.
IdentityLogo Shapenone/rounded/circleWhether the logo is masked to a circle, a rounded square, or left as-is.
IdentityLogo Uploadimage urlYour logo file. Upload it at twice the size you want it displayed so it stays sharp on high-resolution screens.
IdentityShow Brand Nametoggle on/offWhether your store name appears as text beside the logo. Useful when the logo is a symbol nobody would read as your name.
IdentityBrand Namefree-textThe name shown in the header, if it differs from your store name.
IdentityBrand Name Font__heading__ (same as heading) or curatedFontsA font for the brand name specifically, when it should differ from your headings.
IdentityBrand Name Colorhex color (picker + free-text)The brand name colour, when it needs to differ from the header text.
IdentityShow Taglinetoggle on/offA short line under the brand name. Say what you sell — a visitor decides in seconds whether they are in the right place.
IdentityTaglinefree-text (maxLength 160)The tagline text itself.
IdentityFaviconimage urlThe small icon in the browser tab and in bookmarks. It renders at 16px, so anything detailed becomes a smudge — use a mark, not your full logo.
LayoutHeader Layoutlogo-left/logo-center/logo-aboveWhere the logo and menu sit relative to each other. Centred logos read boutique; left-aligned reads conventional and scans faster.
LayoutHeader Elevationflat/soft/strong/floatingWhether the header sits flat on the page or lifts off it with a shadow. Elevation helps when content scrolls underneath.
LayoutSticky Headertoggle on/offKeeps the header visible as people scroll. Useful on long pages; it costs vertical space on a phone.
LayoutHeader Link Styleunderline/color-only/underline-on-hoverHow header links are drawn — plain, underlined, or as buttons.
MenuMenu Alignmentleft/center/rightWhere navigation items sit in the header — beside the logo, or pushed to the far edge.
MenuMenu Densitycompact/normal/spaciousThe spacing between menu items. Tighter fits more links before they collapse into the mobile menu.
MenuMenu Weight400/600 (regular/bold)How bold navigation text is.
MenuMenu Hover Stylecolor-shift/background-fade/underline-slideWhat a menu item does when hovered — underline, highlight, or colour change.
MenuNav Active Indicatorcolor/pill/bold/underlineHow the current page is marked in the menu. Without one, visitors lose track of where they are.
MenuMenu Text Colorhex color (picker + free-text)The colour of navigation text, when it should differ from the header default.
MenuMenu Hover/Active Colorhex color (picker + free-text)The colour a menu item takes when hovered or when it is the current page.
Icons & ActionsShow Account Icontoggle on/offWhether buyers see a sign-in / account entry point in the header. Off makes sense only if you sell nothing that needs an account.
Icons & ActionsAmbient Backgroundtoggle on/offA soft gradient behind the header instead of a flat colour.
Icons & ActionsHeader Background Colorhex color (picker + free-text)The header's own background, when you want it different from the page.
MobileDrawer Sideleft/rightWhich edge the mobile menu slides in from.
MobileMobile Menu Styledrawer/fullscreenHow navigation collapses on a phone — a slide-in drawer, or a full-screen overlay.
Enabled toggleboolean Switch (default false)Turns the strip above the header on. Best used for one thing at a time — a sale, a shipping cutoff.
Textstring InputWhat the bar says. Short enough to read at a glance on a phone.
Linkstring (LinkPicker component)Where the bar goes when tapped. A bar that says something is happening but isn't clickable frustrates people.
Background color (swatch)color Input type=color (default #FACC15)Pick the background colour visually.
Background color (hex text)string Input font-monoThe same background colour as a hex code, for matching an exact brand value.
Text color (swatch)color Input type=color (default #000000)Pick the text colour visually.
Text color (hex text)string Input font-monoThe same text colour as a hex code.
Text color resetbutton (sets textColor undefined)Returns text to the theme default, undoing a manual override.
Dismissible toggleboolean Switch (default true)Lets visitors close the announcement bar. Without it, the bar takes space on every page for everyone.
LayoutFooter MenuSelect (menus filtered location=="footer")Which menu the footer shows. Usually the longer one — footers are where policies and secondary links live.
LayoutFooter Columnsnumeric display + navigate button (default 3)How many columns the footer splits into. More columns suit a lot of links; fewer read cleaner.
LayoutMobile Footer Layoutenum: columns | accordion | stack (default columns)Whether footer columns stack or collapse into accordions on a phone.
LayoutFooter Link Styleenum: underline | color-only | underline-on-hoverThe same choice for footer links.
LayoutFooter Background Color (swatch)color input type=color (default surface/#FFFFFF)A footer background different from the page.
LayoutFooter Background Color (hex text)string Input font-monoThe footer background as a hex code.
LayoutFooter Background Color resetbutton (sets undefined)Returns the footer to the theme default.
Brand ColumnShow Footer Logoboolean Switch (default true)Repeats your logo at the bottom of the page.
Brand ColumnShow Footer Taglineboolean Switch (default true)A one-line description under the footer logo.
Brand ColumnShow Footer Emailboolean Switch (default true)Shows a contact email in the footer. Worth having — buyers look for it before they use a form.
Brand ColumnShow Footer Phoneboolean Switch (default true)A phone number in the footer.
Brand ColumnShow Social Footerboolean SwitchYour social links in the footer.
NewsletterShow Newsletter Signupboolean Switch (default on unless false)Puts an email capture in the footer. The lowest-effort way to collect an audience from traffic that isn't ready to buy.
NewsletterNewsletter Headlinestring Input maxLength 120The prompt above the signup field. Say what they get, not "subscribe".
NewsletterNewsletter Subtitlestring Input maxLength 200A supporting line under the headline.
NewsletterNewsletter Button Labelstring Input maxLength 40The signup button wording. "Get the list" converts better than "Submit".
CopyrightCopyright Overridestring Input maxLength 200Replaces the automatic copyright line with your own wording.

此分组共有 54 个控件。生成自正在运行的主题控件矩阵。