Appearance
Configure the grid layout
Baseline uses a grid layout to arrange your store's products and collections, making them easier for visitors to browse. Use Shopify's Theme editor to customize the grid's appearance.

The previous image shows a Featured collection table section on a store's home page. The grid theme settings control the grid borders displayed between the table's rows and columns.
Access the grid theme settings
To access the grid theme settings:
In your store's Shopify admin, select Sales channels > Online store > Themes.
In the Themes pane, locate the version of Baseline you want to modify.
Next to the theme's name, select Edit theme to open the Theme editor.
In the Theme editor, select Theme settings (the gears icon) > Grid.
After adjusting the settings, select Save to avoid losing unsaved changes.
Choose a border color for the grid
To choose a border color for the grid:
In the Theme editor, select Theme settings > Colors.
Locate the Grid > Border color menu area.
Use one of the following methods to specify a border color for the grid.
- Choose a color with the Color picker.
- Enter a hexadecimal (hex) color value. Refer to W3 Schools: Colors HEX.
- Select a Currently used color.
- Choose the Connect dynamic source icon.

Note
To colorize an element by using a color from a dynamic source, select the Connect dynamic source icon beside the element selector, and then choose a dynamic source to add. To use this feature, you must define sources of dynamic content for colors. Refer to Shopify help: Metafields.
Select Save.
Adjust the spacing around content inside the grid
To adjust the spacing around content inside the grid:
In the Theme editor, select Theme settings > Grid.
Use the Content spacing options to specify the amount of spacing inside the grid.
The available content spacing options are:
- None. With this option, no spacing is applied.
- Small. Applies a small amount of spacing.
- Medium. Applies medium spacing.
- Large. Sets spacing to the maximum amount.

Note
By default, the Baseline, Brutalist, and Press Theme style presets are set to Small spacing. The Austere and Courier presets have Medium spacing applied.
Customize the spacing between media items and grid borders
Complete the following steps to customize spacing between media items and grid borders:
In the Theme editor, select Theme settings > Media.
Adjust a setting described in the following table.
| Setting name | Description |
|---|---|
| Grid media style | Use the Grid media style setting to specify how media items are displayed inside the grid. The options are Fill and Inset. With the Fill option, media items fill the grid to the edge of the border. With the Inset option, empty space is applied between the media item edges and the grid borders. |
| Show border on inset media | Use the Show border on inset media setting to show or hide a border around inset media items. This option applies only when Grid media style is set to Inset. |
Set the width of the grid's borders
To set the width of the grid's borders:
In the Theme editor, select Theme settings > Grid.
Use the Border width slider to set the width of the grid border in pixels. The slider ranges from
0 pxto5 px.
Example: Hide the grid border
The grid cannot be removed, but the following settings make it less visible.
- Set the grid Border width to
0 px. - Set the grid Border color to the same color as the page's or section's background color (transparent).
Example: Grid border width examples
The following grid border width and color settings provide interesting layouts. As an example, the settings are applied to a store's Featured collection table section. The section's table typically displays grid border lines between the table's rows and columns.
| Setting | Value |
|---|---|
| Grid border width | 5 px |
| Grid border color | Same color as the section's background color (transparent). |

| Setting | Value |
|---|---|
| Grid border width | 0 px |
