Theme editor features overview

You can use the theme editor to customize the areas of your theme, such as colors, and manage content in your theme with sections and blocks.

Access the theme editor

You can access the theme editor from your Shopify admin.

  1. From your Shopify admin, go to Online Store > Themes.

  2. Next to the theme that you want to edit, click Edit theme.

Theme editor layout sections

The theme editor has the following sections:

  • The menu bar contains navigation buttons on the left to switch between sections, theme settings, and app embeds; the theme name, market, and template menus in the center; and customization controls on the right.
  • The sidebar displays a tree view of all the content for the template that you're currently viewing. You can manage sections and blocks, app embeds and settings from the sidebar. The sidebar is collapsible.
  • The preview window displays your theme, and updates automatically when you make changes. You can activate a mobile preview or use the preview inspector to manage the content for a theme template in the preview window.

The menu bar displays navigation, theme information, and controls for customizing your theme.

The menu bar displays theme information and buttons to manage theme customization.

Theme details and actions in the menu bar of the theme editor

On the left side of the menu bar, you can toggle between the following views in the sidebar:

  • Sections to manage the sections and blocks on your current template.
  • Theme settings to manage your theme's global settings, such as colors, typography, and layout.
  • App embeds to manage apps that are embedded in your theme.

To hide the sidebar and get a full-width preview of your theme, click the active button again to deselect it. If both panels are visible, then clicking the active button collapses both simultaneously.

Theme details, market, and template menus

Theme details, market, and template menus in the center of the menu bar

In the center of the menu bar, you can find the following:

Customization shortcuts

Customization icons in the menu bar of the theme editor

You can use the following controls in the menu bar to customize your theme and manage your changes:

If there are no unsaved customizations to redo, undo, or both, then the corresponding button is inactive.

The sidebar displays a tree view of all the content for the template that you're currently viewing. You can manage sections and blocks, and theme settings from the sidebar. You can collapse the sidebar by clicking the active navigation button in the menu bar again to toggle it off.

Your theme might have conditional settings that display in the sidebar depending on which other settings are active. For example, if your theme has a block with a setting to add either a video or image, then the image picker or video link might be a conditional setting that only displays after you've selected Image as the media type.

The theme editor has two modes to make use of all of the space on your screen.

Double sidebar mode is for wider browser windows and larger screens, and single sidebar mode is for narrower browser windows and smaller screens. The sidebar mode determines where the settings panel displays in the editor.

Double sidebar mode

If your browser window is at least 1600 pixels wide, then you'll have two panels. The left panel contains the page structure with your sections and blocks, and the right panel contains the settings for the selected section or block. You can collapse the right panel by unselecting sections.

The settings panel displays on the right hand side of the screen in double sidebar mode.

To view the theme editor in single sidebar mode on a large screen, make your browser window narrower until the editor switches to the stacked layout.

Single sidebar mode

On narrower screens, the editor uses a stacked layout. When you click a section or block, the settings panel slides up from the bottom of the screen instead of covering your page structure. You can drag the divider to adjust the split between the page structure and settings, keeping both visible at all times.

The settings panel displays in a stacked layout in single sidebar mode

Previewing your theme

You can preview your theme's mobile layout by clicking the mobile button in the menu bar. To return to the desktop preview, click the mobile button again.

To preview your theme at full width, click the active sidebar navigation button to collapse the sidebar. If both panels are visible, then this collapses both simultaneously, giving you a full-width preview of your storefront.

Undoing and redoing unsaved changes

You can use the undo and redo buttons to undo or redo unsaved customizations. After you save your changes, you can no longer redo or undo.

Using keyboard shortcuts in the theme editor

You can use keyboard shortcuts to navigate and perform actions in the theme editor.

List of supported keyboard shortcuts in the theme editor for both Windows and macOS devices.
CategoryActionShortcut on WindowsShortcut on macOS
General UndoCTRL + Z + Z
RedoCTRL + Y + Y
SaveCTRL + S + + S
See all shortcutsCTRL + / + /
Tools Preview inspectorCTRL + SHIFT + | + + |
Preview mode + CTRL + | + + |
SidekickCTRL + . + .
Navigation Sections + CTRL + Z + + 1
Theme Settings + CTRL + Z + + 2
App Embeds + CTRL + Z + + 3
Sections & Blocks Hide & showCTRL + SHIFT + H + + H
RemoveSHIFT + +
Select previousSHIFT + +
Select nextSHIFT + +
Open selected elementSHIFT + ENTER +
Expand all sectionsCTRL + SHIFT + O + + O
Collapse all sectionsCTRL + SHIFT + P + + P