布局和动效控制项
这些控制项设置整个店铺的结构和手感:东西有多圆润、有多少留白、内容能铺多宽,以及页面怎么动。它们都在左侧栏的 外观 分组里(店铺 → 主题,或者在页面编辑器里面)。
在哪里找
侧边栏 → 店铺 → 主题,或者在编辑器里打开任意页面,选择 设置 → 主题。
形状和空间
| 设置 | 作用 |
|---|---|
| 圆角 | 按钮、方框和照片的直角、柔和或圆润的圆角。选项:直角、微圆、柔和、圆润、胶囊。 |
| 间距 | 整个店铺里方框内部以及各项之间的留白。 |
| 版块间距 | 页面上一个版块和下一个版块之间的空间。 |
| 页面宽度 | 在大屏幕上你的内容能有多宽。选项:窄、标准、宽、超宽、边到边、全幅出血。 |
用大白话讲页面宽度
- 窄 和 标准 把内容保持在阅读栏里;宽 和 超宽 给照片和网格更多空间。
- 边到边 去掉两侧的留边,让内容到达屏幕边缘;全幅出血 让版块背景铺到边缘,而文字仍然留在它的栏里。
- 版块可以在它的检查器里选择自己的宽度。显示 与页面相同 的版块跟随这项设置。页面也可以在它的页面设置里设置自己的宽度。
- 间距选项有 紧凑、常规 和 宽松。它们会重新调整整个店铺里方框内部和各项之间的留白。版块间距 有自己的 紧凑、默认 和 宽松。
动效
动效控制项决定你的店铺动多少,以及动起来是什么感觉。
| 设置 | 作用 |
|---|---|
| 动画 | 你的页面动多少。关闭:什么都不动。柔和:轻柔的一次性动效。完整:一切都有生气。选项:关闭、柔和、完整。 |
| 悬停速度 | 鼠标放在按钮和链接上时,它们反应多快。选项:灵敏(150 毫秒)、默认(250 毫秒)、轻柔(400 毫秒)。 |
| 滚动效果 | 访客向下滚动页面时,版块如何出现。选项:无、向上渐显、滑入、放大。 |
| 动效风格 | 动效的整体感觉,从平静到弹跳。选项:柔和、有活力、轻柔、利落、俏皮、戏剧化。 |
- 动画 是总的级别:关闭(什么都不动,最适合安静的、文字多的店铺)、柔和(版块轻柔地渐显,卡片稍微抬起)和 完整(浮动图标、按钮上的闪光、数字滚动、视差和倾斜,请谨慎使用)。它只对外观支持的店铺出现,比如 新 店铺外观(见样式控制项)。
- 如果访客的设备设置了减少动效,无论你在这里选什么,他们那里都不会有任何动作。
- 动效风格 为入场选择一种有名字的个性:柔和(“缓慢而精致”)、有活力(“快速而有力”)、轻柔(“柔和而流畅”)、利落(“迅速而精准”)、俏皮(“弹跳而有趣”)或戏剧化(“电影感”)。
- 单个元素可以在检查器里拥有自己的滚动动效、入场和悬停效果。见动效和动画。
步骤
- 在左侧栏里打开 外观 分组。
- 选择 圆角(从直角到胶囊)和 间距(紧凑、常规或宽松)。画布会立刻更新。
- 选择 页面宽度。用设备按钮把画布切换到手机和平板来检查。
- 打开 更多选项,设置 版块间距 和动效的微调(悬停速度、滚动效果、动效风格)。
- 保存,看起来合适后再发布。
会发生什么,不会发生什么
- 这些是 全店范围的默认值。区块或页面仍然可以覆盖自己的间距或宽度,检查器会把它显示为 已在此更改。
- 间距和圆角也适用于按钮、方框和照片,所以一次修改就能让整个店铺保持一致。
- 旧版本里的 卡片内边距 和 卡片间隙 滑块已不再出现在侧栏里;你之前保存的值仍然有效,并显示为带有 重置 按钮的“之前已设置”行。
常见问题
主题的间距会覆盖区块自己的间距吗?
不会。主题设置的是默认值;有自己的值的区块或页面会保留它。检查器会把这样的值标为“已在此更改”,并让你“重置为主题”。
“全幅出血”有什么作用?
它让版块背景一直铺到屏幕边缘,而文字仍然留在它的阅读栏里。
为什么有些访客看不到动画?
无论动画设置怎么选,设备要求减少动效的访客看到的店铺都没有动作。
完整控制项对照表
| 分组 | 控件 | 选项 | 作用 |
|---|---|---|---|
| Transition Speed | enum: snappy(150ms) | default(250ms) | gentle(400ms) | How fast things move. Fast feels responsive; slow feels laboured, especially on repeat visits. | |
| Scroll Animation | enum: none | fade-up | slide-in | scale-up | Whether sections animate in as you scroll to them. Effective once, tiring on a long page. | |
| Motion Preset | Animation Style | 6 preset cards: subtle_elegant | energetic_bold | gentle_organic | snappy_modern | playful_bounce | dramatic_reveal | A preset that sets all motion at once. Subtle is right for most stores; anything stronger draws attention away from the products. |
| Motion Preset | (preset writes) Motion Duration | string ms — from preset.entrance_duration_ms | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Motion Preset | (preset writes) Motion Easing | string easing — from preset.entrance_easing | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Motion Preset | (preset writes) Hover Scale | number — from preset.hover_scale | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Motion Preset | (preset writes) Hover Duration | string ms — from preset.hover_duration_ms | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Motion Preset | (preset writes) Stagger Delay | string ms — from preset.stagger_delay_ms | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Motion Preset | (preset writes) Entrance Distance | string px — from preset.entrance_distance_px | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Motion Preset | (preset writes) Parallax Intensity | number — from preset.parallax_intensity | Set for you by the animation preset above. Change the preset rather than this value unless you need something specific. |
| Density | Page Density | compact | The overall breathing room. Comfortable gives everything space; compact fits more above the fold — useful for a large catalogue, tiring for a landing page. |
| Density | Page Density | default | The overall breathing room. Comfortable gives everything space; compact fits more above the fold — useful for a large catalogue, tiring for a landing page. |
| Density | Page Density | spacious | The overall breathing room. Comfortable gives everything space; compact fits more above the fold — useful for a large catalogue, tiring for a landing page. |
| Corner Roundness | Border Radius (global) | none | How rounded corners are, everywhere at once. Sharp corners read technical and serious; heavy rounding reads friendly and consumer. |
| Corner Roundness | Border Radius (global) | sm | How rounded corners are, everywhere at once. Sharp corners read technical and serious; heavy rounding reads friendly and consumer. |
| Corner Roundness | Border Radius (global) | md | How rounded corners are, everywhere at once. Sharp corners read technical and serious; heavy rounding reads friendly and consumer. |
| Corner Roundness | Border Radius (global) | lg | How rounded corners are, everywhere at once. Sharp corners read technical and serious; heavy rounding reads friendly and consumer. |
| Corner Roundness | Border Radius (global) | full | How rounded corners are, everywhere at once. Sharp corners read technical and serious; heavy rounding reads friendly and consumer. |
| Section Spacing | Section Spacing | tight | The gap between one section and the next. This is what makes a page feel considered rather than crammed. |
| Section Spacing | Section Spacing | default | The gap between one section and the next. This is what makes a page feel considered rather than crammed. |
| Section Spacing | Section Spacing | loose | The gap between one section and the next. This is what makes a page feel considered rather than crammed. |
| Page Width | Page Width | narrow | How wide your content runs. Narrow keeps lines short and readable for text-led stores; full-width suits image-heavy catalogues but makes paragraphs hard to track. |
| Page Width | Page Width | boxed | How wide your content runs. Narrow keeps lines short and readable for text-led stores; full-width suits image-heavy catalogues but makes paragraphs hard to track. |
| Page Width | Page Width | wide | How wide your content runs. Narrow keeps lines short and readable for text-led stores; full-width suits image-heavy catalogues but makes paragraphs hard to track. |
| Page Width | Page Width | extra | How wide your content runs. Narrow keeps lines short and readable for text-led stores; full-width suits image-heavy catalogues but makes paragraphs hard to track. |
| Page Width | Page Width | full | How wide your content runs. Narrow keeps lines short and readable for text-led stores; full-width suits image-heavy catalogues but makes paragraphs hard to track. |
| Cards | Card Padding | Slider 8–48 px, step 4, default 24 | Space inside a card, between its border and its contents. Too little and the card feels cramped whatever else you fix. |
| Cards | Card Gap | Slider 8–40 px, step 4, default 20 | The gap between cards in a grid. Wider gaps make each card read as its own thing; tighter gaps make them read as one block. |
| Custom CSS | Custom CSS | Textarea, sliced to 10000 chars | An escape hatch for anything the controls don't cover. It applies after everything else, so it can override the theme — and can break your storefront if the selectors are wrong. Reach for it last. |
此分组共有 29 个控件。生成自正在运行的主题控件矩阵。