分区和块
在分区和块列表中,默认情况下显示页面上分区的所有块。
默认情况下,组成标头或页脚的分区会折叠,但如果您点击分区名称旁边的展开图标 ▸
,便可以看到这些分区。
删除分区
您可以在每个商品的设置屏幕中删除模板中的分区或块。删除分区按钮显示在分区设置的底部。
步骤:
在模板编辑器侧边栏中,点击要删除的分区或块。
点击删除分区或删除块。
点击保存。如果您要编辑已发布的模板,请点击发布以保存更改并将其保存在您的商店中。
隐藏块
您可以使用眼睛图标隐藏任何分区或块。
模板
您可以在模板编辑器顶栏的页面选择器中访问所有模板。
如果您使用的是“Online Store 2.0” 模板,则还可以通过点击新建模板选项来直接从页面选择器中创建新模板。
通过应用于特定资源来预览模板效果
查看模板时,您可以将其应用于商店中的任何兼容资源来预览其显示效果。例如,如果您查看产品模板,则可以使用商店的任何产品来测试它。
步骤:
在模板编辑器页面选择器中,选择您要预览的模板。
在导航面板的预览分区中,点击更改。
在选择菜单中,选择您要预览的资源。
撤消和恢复操作
撤销和恢复按钮位于模板编辑器的右上方。
查看文档、获取支持并检查您的模板版本
指向模板文档和支持信息的链接已移动到菜单栏中的更多 ⋯
菜单。在此菜单中,您还可以查看模板版本和创建者信息。
提示 如果使用来自 Shopify 的免费模板,那么您可以通过参阅来自 Shopify 的免费模板以及点击模板的名称来查看此模板的分区和设置的详细信息。
若要了解付费模板的分区和设置,请参阅模板文档。
获取有关自定义项的帮助
如需更改模板方面的帮助,则可以联系您的模板开发人员寻求支持。
要查看可用于帮助您进行模板自定义的其他资源,请参阅模板支持的其他资源。
Shopify商户官网原文详情:
Sections and blocks
In the list of sections and blocks, all of the blocks for the sections on a page are shown by default.
Sections that make up the header or footer are collapsed by default, but you can view them if you click the expand icon
▸
next to the section name.Removing sections
You can delete a section or block from a template from the setting screen for each item. The Remove section button appears at the bottom of the section settings.
Steps:
In the theme editor sidebar, click the section or block that you want to remove.
Click Remove section or Remove block.
Click Save. If you're editing a published theme, then click Publish to save your changes and make them live in your store.
Hiding blocks
You can hide any section or block using the eye icon.
Templates
You can access all of your theme's templates from the page selector in the top bar of the theme editor.
If you're using an Online Store 2.0 theme, then you can also create a new template directly from the page selector by clicking the New template option.
Previewing templates with specific resources
When you're viewing a template, you can preview how it looks with any compatible resource in your store. For example, if you're viewing a product template, then you can test it with any product in your store.
Steps:
From the theme editor page selector, select the template that you want to preview.
From the navigation panel, in the Preview section, click Change.
From the Select menu, select the resource you want to preview.
Undoing and redoing actions
The Undo and Redo buttons are located at the top right of the theme editor.
Viewing documentation, getting support, and checking your theme version
Links to your theme's documentation and support information can be found in the More
⋯
menu in the menu bar. In this menu, you can also check the theme version and creator information.Get help with customizations
If you need help with making changes to your theme, then you can contact your theme's developer for support.
To see what other resources are available to help you with theme customizations, see Additional resources for theme support.
文章内容来源:Shopify商户官方网站