Skip to content

Directory

This guide describes setting up the Directory section.

Use the section to display a menu with links to different areas of your store. Create a new menu or add an existing menu to the section, such as the main navigation or footer menu.

An example Directory section on a store's home page.

​The previous image shows a Directory section at the top of a store's home page. The store's Header section is set to Hidden, and the Directory section is configured to display the store's main menu. Below the section, part of Theme editor's section menu is displayed. The menu's Text alignment option is set to Right. This option right-aligns the text inside the section.

For general guidance with modifying sections, refer to Sections overview and Shopify help: Sections and blocks.

Set up a Directory section

To set up a Directory section:

  1. In Theme editor, at the top of the page, use the theme templates dropdown menu to select a page that contains a Directory section.

    Note

    The section can be added to any page, except Checkout and Gift card pages. To add the section to the current page, select Add section > Directory. Refer to Shopify help: Add a section.

  2. From the side menu, select Directory.

  3. Select a setting described in the following table.

Setting nameDescription
MenuUse the Menu picker to set up a menu to display inside the section. Refer to Set a menu for a directory section.
Text alignmentUse the Text alignment options to align the text inside the section to the Left, Center or Right.
Color > Color schemeUse the Color scheme picker to select a color scheme for the section. Refer to Colors.
Theme settingsIf available, select Theme settings to access additional settings for the section. Refer to Section theme settings menu.
Custom CSSSelect Custom CSS. In the CSS field, enter custom CSS styles to apply only to the current section. Refer to Shopify help: Add custom CSS. To apply custom styles to your entire online store, refer to Theme settings > Custom CSS.
Remove sectionSelect Remove section to delete the section from the current page.

Note

To connect a metafield to a setting that supports metafields, select the Connect dynamic source icon displayed beside the setting in Theme editor.

To learn how to connect a metafield to a supported setting, refer to Shopify help: Connecting metafields to your theme by using the theme editor.

Set a menu for a directory section

To set up a menu for a Directory section, apply the following section settings in Directory > Menu.

  • If the section has no menu, choose Select. Enter the name of a menu into the Search box, or pick a menu from the list.

  • To edit the current menu, select the Menu picker and then choose the Edit link. The link opens the Menus editor in your store's Shopify admin. Use the editor to modify the menu. Refer to Shopify help: Add, remove, or edit menu items in your online store.

  • To create a new menu, select the Menu picker:

    • If you have an existing menu, select the Edit link.
    • If no menu is present, select the Create menu link.

    The link opens the Menus editor in your store's Shopify admin. Use the menu editor to create a new menu, and then select the new menu. Refer to Shopify help: Add, remove, or edit menu items in your online store.

  • To replace the current menu, select the Menu picker and then choose Replace. Enter the name of the replacement menu into the Search box, or pick a replacement menu from the list.

  • To delete the current menu, select the Menu picker and then choose Remove menu.