Skip to content

Collapsible rows ​

This guide describes setting up the Collapsible rows section.

Use the section to add headings to a page with corresponding blocks of expandable/collapsible rows of text.

​The previous video shows a Collapsible rows section on a store's home page. The section contains three rows of heading text, with a plus icon + displayed at the end of each row - on the right. When the store visitor selects a plus icon, the section expands/collapses the corresponding body text (block) in each row.

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

Set up a Collapsible rows section ​

To set up a Collapsible rows section:

  1. Go to Customize theme.

    In Theme editor, at the top of the page, use the dropdown to select a page that contains a Collapsible rows section.

    Note

    The section can be added into any page, except Checkout and Giftcard pages. To add the section into the current page, select Add section > Collapsible rows. Refer to Shopify help: Add a section.

    Baseline includes a dedicated Collapsible rows page template. The Collapsible rows page is pre configured with a Collapsible rows section. To access the Collapsible rows page in Theme editor, use the dropdown to select Pages > Collapsible-rows.

  2. From the side menu, select Collapsible rows.

    The Collapsible rows section selected in Theme editor.

  3. Select a setting described in the following table.

Setting nameDescription
HeadingIn the Heading box, enter text to display as title text inside the section.
Heading > Connect dynamic sourceTo display heading text from a dynamic source, if available, select the Connect dynamic source icon beside the Heading box, and then choose a metafield to add. Refer to Shopify help: Metafields.
Heading fontUse the Heading font setting to specify a font for the section's heading text. Set the section's heading text to use the same font as Heading or Body text.
Heading font sizeUse the Heading font size setting to specify a size for the section's heading text. Set the section's heading text to use the same text size as Standard, Feature or Secondary heading text. Refer to Typography. To use this option, set the Heading font option to Heading.
Max width of expanded contentUse the Max width of expanded content setting to specify a maximum width for the section's "Expanded content" area. When a store visitor selects a "cross hairs" icon beside a row of text (block) inside the section, an expanded content area displays the block's body text content. The options are None, Small, Medium, and Large.
Color > Color schemeUse the Color scheme options to select a color scheme for the section. Refer to Colors.
Color > Theme settings (link)Follow the Theme settings link to open Theme editor's Color theme settings. Use the settings to edit the theme colors for your entire store.
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 box, 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.

Configure a block within a Collapsible rows section ​

A default Collapsible rows section contains eight Row blocks. To configure a block inside the section:

  1. Go to Customize theme.

    At the top of the page, use the dropdown to select a page that contains a Collapsible rows section.

  2. From the side menu, expand the Collapsible rows section menu.

  3. To configure an existing block, select the block from the side menu.

    To add a new block, select Add row, and then select the block you added.

    The Collapsible rows Add block menu in Theme editor.

    Note

    Inside the section, you can add, remove, show, hide, and move blocks. Refer to Configure blocks inside a section, and Shopify help: Sections and blocks.

  4. Apply a block setting described in the following table.

Setting nameDescription
HeadingIn the Heading box, enter text to display as a heading inside the block.
Heading > Connect dynamic sourceTo display heading text from a dynamic source, if available, select the Connect dynamic source icon beside the Heading box, and then choose a metafield to add. Refer to Shopify help: Metafields.
Expanded contentIn the Expanded content box, enter collapsible/expandable body text to display inside the block. Format the text and add links using the Text editor pane.
Expanded content > Insert dynamic sourceTo display body text from a dynamic source, select the icon Insert dynamic source beside the Expanded content box, and then choose a metafield to add. Refer to Shopify help: Metafields.
Remove blockSelect Remove block to delete the block from the current section.