Size Guide Modal
Tabbed inch/cm size chart in a clean modal. Replaces Kiwi Size Chart.
Live preview
See it in action.
Fully interactive, drag, click, scroll inside the frame, toggle to mobile.
About this section
A polished modal-based size guide for apparel PDPs. Inch/cm tab toggle, configurable measurement table (columns and rows are theme blocks), how-to-measure body, and a fit note. Trigger is a styled link you drop next to the variant picker. Pure Liquid + a few lines of JS, no app needed.
Install in 90 seconds
- 01
Create /sections/modblo-size-guide-modal.liquid.
- 02
Paste the section code and save.
- 03
Add the section to product.json (or wherever you want the trigger to render).
- 04
In the theme editor, add Column blocks (Chest, Waist, Length, etc.), then Row blocks for each size with comma-separated values matching the column order.
- 05
(Optional) Wrap the trigger in a flex row next to the variant picker so it sits inline with the size pills.
The Liquid
Unlock the section code
Size Guide Modal is a premium section. Get the full Liquid + scoped CSS paste-ready.
One-time purchase · Lifetime updates · You own the code
Theme editor settings
| Setting | Type | Default |
|---|---|---|
Trigger label trigger_label | text | Size guide |
Heading heading | text | Size guide |
Show inch/cm tabs unit_tabs | checkbox | true |
Primary unit label unit_primary | text | Inches |
Secondary unit label unit_secondary | text | Centimeters |
How-to-measure heading how_to_heading | text | How to measure |
How-to-measure body how_to | richtext | , |
Fit note fit_note | text | , |
Background bg | color | #ffffff |
Foreground fg | color | #0b0b0c |
Accent accent | color | #6366f1 |
Columns + Rows blocks Add Column blocks (one per measurement column) then Row blocks (one per size). Values comma-separated in column order. | blocks | , |
SEO & accessibility notes
- Modal is a real <dialog>-style overlay, full keyboard navigation (Escape closes), aria-modal labeled.
- Tabs use real <button> with role=tab + aria-selected, screen-reader friendly.
- Tables use <th scope> implicitly via thead/tbody structure for accessibility.
- All content rendered server-side, fully crawlable for SEO.
Related
