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 code
This is the file you'll paste into your theme.
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
What you can customize
Every setting below shows up in the Shopify theme editor. Change them without touching code.
| Setting | Type | Default |
|---|---|---|
Trigger label trigger_label | Text | Size guide |
Heading heading | Text | Size guide |
Show inch/cm tabs unit_tabs | Yes/No | 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 | Rich text | , |
Fit note fit_note | Text | , |
Background bg | Color picker | #ffffff |
Foreground fg | Color picker | #0b0b0c |
Accent accent | Color picker | #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 and 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
