Theme editor updates

Shopify's theme editor has been rebuilt to make it faster, more powerful, and easier to use.

You don't need to take any action to get access to the new theme editor. When your store has access to the new theme editor, you automatically receive the updated theme editor features.

This update only gives you access the features outlined below, and does not include other Online Store 2.0 featuresannounced at Unite. Online Store 2.0 themes that unlock those features will be released in the upcoming months.

The new theme editor has an updated sidebar design.

The editor now displays a tree view of all the content for the template that you're currently viewing in the sidebar. Instead of clicking on a section to access its blocks and settings, you can expand a section node using the expand iconto view its blocks, or collapse it using the collapse iconto hide the blocks. You can click on any section or block to view its settings.

Expand and collapse sections to view blocks

Our editor now offers two modes to make use of all of the space on your screen.

Double sidebar modeis for wider browser windows and larger screens, andsingle sidebar modeis for narrower browser windows and smaller screens. The sidebar mode determines where the setting panel appears in the editor.

Double sidebar mode

If you have a screen larger than 1600 pixels wide and your browser window is fully expanded, or your browser window is expanded to at least 1600 pixels wide, then you'll see two sidebars. The left-hand sidebar contains the navigation panel, and the right-hand sidebar contains the setting panel.

The setting panel appears on the right hand side of the screen in double sidebar mode

Single sidebar mode

Narrower browsers only have one sidebar to conserve space for the theme preview. When you click on a section or block to edit it, the setting panel opens over top of your navigation panel in the sidebar.

The setting panel appears as an overlay of the navigation panel in single sidebar mode

Sections and blocks

In the list of sections and blocks, you can now see all of the blocks for the sections on a page by default. In the previous theme editor, you needed to select a section to see its blocks.

Sections that make up the header or footer are collapsed by default, but you can see them if you click the expand iconnext to the section name.

Removing sections

You can now delete a section or block from a template from the setting screen for each item. TheRemove sectionbutton appears at the bottom of the section settings.

Remove a section using the Remove section button

Steps:

  1. In the theme editor sidebar, click the section or block that you want to remove.
  2. ClickRemove sectionorRemove block.
  3. ClickSave. If you're editing a published theme, then clickPublishto save your changes and make them live in your store.

Hiding blocks

You can now hide any section or block using the eye icon.

Remove a section using the Remove section button

Templates

You can now access all of your theme's templates from the page selector in the top bar of the theme editor.

If you're using anOnline Store 2.0theme, then you can also create a new template directly from the page selector by clicking the新模板option.

Previewing templates with specific resources

当你浏览一个模板,你可以看到它looks with any compatible resource in your store. For example, if you're viewing a product template, you can test it with any product in your store.

Steps:

  1. From the theme editor page selector, select the template that you want to preview.
  2. From the navigation panel, in thePreviewsection, clickChange.
  3. From theSelectmenu, select the resource you want to preview.

Undoing and redoing actions

TheUndoandRedobuttons have been moved to the top right of the theme editor.

The Undo and Redo buttons in the top bar of the theme editor.

Viewing documentation, getting support, and checking your theme version

Links to your theme's documentation and support information have been moved to the更多的menu in the menu bar. In this menu, you can also check the theme version and creator information.

This information was previously accessible from theTheme actionsmenu.

Use the more button to access theme information.

Ready to start selling with Shopify?

Try it free