Add content blocks

Custom blocks of content can be created, and then added to any page, group of pages, or even to another block. For example, you might place an image slider in a block, and then place the block on the home page. The Blocks workspace uses the same basic controls as the Pages workspace to help you find available blocks and perform routine maintenance. When the block is complete, you can use the Widget tool to place it on specific pages in your store.

w-700 modal-image
The Blocks page displays a grid of existing blocks

Create a block

  1. On the Admin sidebar, go to Content > Elements > Blocks.

  2. In the upper-right corner, click Add New Block.

    img-md
    w-500 modal-image
    The New Block page displays options and a content space
  3. If you want to change the default-enabled status of the new block, set Enable Block to No.

  4. Assign a Block Title for internal reference.

  5. Assign a unique Identifier for the block.

    Use all lowercase characters with underscores instead of spaces.

  6. Select each Store View where you want the block to be available.

  7. Add the content for the block using the displayed content tool set:

    • If Page Builder is enabled, select Edit with Page Builder to use the Page Builder tools in the content workspace.

      img-md
      w-500 modal-image
      Page Builder workspace
      note note
      NOTE
      For information about adding blocks with Page Builder, see Tutorial 2: Blocks.
    • Use the editor to format text, create links, and add tables, images, video, and audio.

      If you prefer to work with HTML code, click Show / Hide Editor.

      img-md
      w-500 modal-image
      Block editor (hidden)
  8. When complete, click the Save arrow and choose Save & Close.

    The new block appears at the bottom of the list in the Blocks grid.

  9. Use the Widget tool to place the completed block on a specific page in your store.

Delete a block

There are two ways to remove a custom block. You can remove it from the Blocks grid, or from the edit block page.

Method 1: Remove a block from the Blocks grid

  1. On the Admin sidebar, go to Content > Elements > Blocks.
  2. Locate the blocks using filters above the grid and select the checkbox for one or more blocks to be deleted.
  3. In the upper-left corner of the list, set Actions to Delete.
  4. To confirm the action, click OK.

Method 2: Remove a block from the edit page

  1. On the Admin sidebar, go to Content > Elements > Blocks.
  2. Find the block to be deleted.
  3. In the Actions column for the block, click Select and choose Edit.
  4. In the menu bar, click Delete Block.
  5. To confirm the action, click OK.

Save menu

Command
Description
Save
Save the current block and continue working.
Save & Duplicate
Save and close the current block, and open a new duplicate copy.
Save & Close
Save and close the current block, and return to the Blocks grid.

Add a lightbox or slider

  • It is easy to add a slider to your store with Page Builder. The slider can be set to play automatically, or controlled manually with navigation buttons.

    img-md
    w-600 modal-image
    Page Builder slider

    There is also a wide assortment of jQuery-based image lightboxes available on Commerce Marketplace, and some are free.

  • You can also download an extension from Commerce Marketplace. For additional help, see the documentation provided by the extension developer.

recommendation-more-help
2b0136b4-ef75-405f-9734-60d741f198de