> For the complete documentation index, see [llms.txt](https://nextsky.gitbook.io/purity-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nextsky.gitbook.io/purity-theme/group-sections/products/comparison-table.md). Agents can also search and read this documentation through its [MCP server](https://nextsky.gitbook.io/purity-theme/~gitbook/mcp).

# Comparison table

The **Comparison table** section puts your product next to the alternatives in one table, so shoppers can see the difference without reading a long paragraph.

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FNJXpyCj25hQTKzvIvcY0%2Fimage.png?alt=media&amp;token=73272ccf-1c9c-4b9a-9d6c-283dfa0bf8eb" alt=""><figcaption></figcaption></figure>

Add the section from the section picker, under **Products**. The preset starts with three columns and a few rows.

A table is built from two kinds of blocks:

* **Column** blocks are the options you compare, shown as the columns of the table (up to 4).
* **Row** blocks are the criteria you compare them on, shown as the rows of the table (up to 15).

### Section settings <a href="#section-settings" id="section-settings"></a>

#### **General**

| Setting           | Description                                                                                                                                                                                                                                                                                                                                       |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Section width** | <p>3 options for the container width:</p><ul><li><strong>Fixed width</strong> (default): matches your page content width in <strong>Theme settings -> Layout</strong>.</li><li><strong>Stretch width</strong>: spans the width regardless of screen size.</li><li><strong>Full width</strong>: takes up the entire width of the screen.</li></ul> |
| **Color scheme**  | Select colors from **Theme settings -> Colors**.                                                                                                                                                                                                                                                                                                  |

#### **Section header**

| Setting                                | Description                                                                                                                                                                                                                                           |
| -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Subheading**                         | Short line of text shown above the heading.                                                                                                                                                                                                           |
| **Heading**                            | The main title of the section.                                                                                                                                                                                                                        |
| **Enable heading underline animation** | Draws an animated underline under the words you set to italic in the heading. Use the Italic (I) button in the editor to mark the words. Default: on.                                                                                                 |
| **Underline style**                    | <p>3 underline styles:</p><ul><li><strong>Simple underline</strong></li><li><strong>Curve stroke</strong></li><li><strong>Squiggle underline</strong> (default)</li></ul><p>Shown when <strong>Enable heading underline animation</strong> is on.</p> |
| **Underline color**                    | The color of the animated underline. Default: #FFB005. Shown when **Enable heading underline animation** is on.                                                                                                                                       |
| **Description**                        | Supporting text shown below the heading.                                                                                                                                                                                                              |
| **Heading size**                       | Choose **Heading 1**, **Heading 2** (default), or **Heading 3**.                                                                                                                                                                                      |
| **Alignment**                          | Aligns the header content **Left**, **Center** (default), or **Right**.                                                                                                                                                                               |

#### **Table**

| Setting                    | Description                                                                                                                                                      |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Max width**              | Width of the table inside the section, from 40% to 100%. Default: 100%. Automatically optimized for mobile.                                                      |
| **Comparison heading**     | Label of the first column, the one that lists the criteria. Default: **Criteria**.                                                                               |
| **Show column images**     | Shows the image of each **Column** block above its heading. Default: on. Turn it off for a text-only table.                                                      |
| **Color column highlight** | Colors of the highlighted column. Select a scheme from **Theme settings -> Colors**. A column is highlighted with **Highlight this column** in the Column block. |

#### **Table notes**

| Setting          | Description                                                                       |
| ---------------- | --------------------------------------------------------------------------------- |
| **Show labels**  | Shows the legend under the table that explains the Yes and No icons. Default: on. |
| **First label**  | Text for the Yes icon. Default: **Yes**. Shown when **Show labels** is on.        |
| **Second label** | Text for the No icon. Default: **No**. Shown when **Show labels** is on.          |
| **Description**  | A short note under the table, for example how the comparison was made.            |

**Button label**

| Setting          | Description                                                                    |
| ---------------- | ------------------------------------------------------------------------------ |
| **Button label** | Text of the button below the table. Leave it blank to hide the button.         |
| **Type**         | Button style: **Primary** (default), **Outline**, or **Link**.                 |
| **Link**         | Where the button goes. If you leave it blank, the button is shown as disabled. |

#### **Section padding**

| Setting    | Description                                                           |
| ---------- | --------------------------------------------------------------------- |
| **Top**    | Customize the top padding of the section (0–100px). Default: 48px.    |
| **Bottom** | Customize the bottom padding of the section (0–100px). Default: 48px. |

#### **Section divider**

| Setting            | Description                                                                                                                                                                                                                              |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show divider**   | Displays a divider at the edge of the section. Default: off.                                                                                                                                                                             |
| **Top divider**    | Shape of the divider at the top of the section: **None**, **Line** (default), **Wave**, **Curve out**, or **Curve in**. Hidden when the section above has a Wave or Curve bottom divider. Shown when **Show divider** is on.             |
| **Bottom divider** | Shape of the divider at the bottom of the section: **None** (default), **Line**, **Wave**, **Curve out**, or **Curve in**. **Line** is hidden when the section below has a Wave or Curve top divider. Shown when **Show divider** is on. |

### Block settings <a href="#block-settings" id="block-settings"></a>

#### **Column** (up to 4)

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2FeJMztMuFsxIys3m044vH%2Fimage.png?alt=media&amp;token=a47f24d2-0b22-4600-b943-c32c848c9f98" alt=""><figcaption></figcaption></figure>

| Setting                   | Description                                                                               |
| ------------------------- | ----------------------------------------------------------------------------------------- |
| **Image**                 | Image shown above the column heading. Shown when **Show column images** is on.            |
| **Heading**               | Name of the option, for example your product or a competitor.                             |
| **Highlight this column** | Marks this column as the recommended one, using **Color column highlight**. Default: off. |

#### **Row** (up to 15)

<figure><img src="https://1059363070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRcDJSoM26kdEZlVFekVW%2Fuploads%2Fx5ii4qhav2B697QcIzTV%2Fimage.png?alt=media&amp;token=bb6cde8c-2d65-4e58-9c4a-80e0fed3d996" alt=""><figcaption></figcaption></figure>

| Setting              | Description                                                                                                                                                                                                                             |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Heading**          | The criterion compared in this row, for example Fragrance free.                                                                                                                                                                         |
| **Column 1–4 icon**  | <p>How the value of this column is shown:</p><ul><li><strong>Yes</strong>: a check icon</li><li><strong>No</strong>: a cross icon</li><li><strong>Text</strong>: your own text</li><li><strong>Image</strong>: your own image</li></ul> |
| **Column 1–4 text**  | The text shown when the column icon is set to **Text**.                                                                                                                                                                                 |
| **Column 1–4 image** | The image shown when the column icon is set to **Image**.                                                                                                                                                                               |

The values in a row follow the order of the **Column** blocks: Column 1 is the first column block, Column 2 the second, and so on. If you reorder the column blocks, check the rows again. **Column 4** is only used when the table has four columns.

#### Mobile <a href="#mobile" id="mobile"></a>

On small screens the table scrolls sideways while the criteria column stays in place, so shoppers keep the context of each row.
