Appearance
The gate’s look — texts, logo and colors — is configured in the theme editor, on the Optan Age Verification app embed. That’s deliberate: the theme editor gives you a live preview on your actual storefront while you tweak.
To get there: app Home → Activate in theme editor, or Online Store → Themes → Customize → App embeds → Optan Age Verification.
Seven text fields cover everything the gate can say. All of them are free text — write them in any language and tone you like.
| Field | Default |
|---|---|
| Heading | Age verification |
| Message | Please confirm your age to enter this store. |
| Confirm button | I am old enough |
| Decline button | I am not |
| Date of birth label | Enter your date of birth |
| Date of birth submit button | Enter |
| Declined message | Sorry, you are not old enough to enter this store. |
Only the fields for your active verification method appear on the gate: Yes/No mode uses the two buttons, date-of-birth mode uses the label and submit button.
Pick any image from your Shopify files. It renders centered above the heading, sized for the dialog (240 px wide source is plenty). Leave it empty for a text-only gate.
Colors
Section titled “Colors”Five color settings, each with a sensible default:
| Setting | Default | What it colors |
|---|---|---|
| Overlay color | #000000 |
The full-screen backdrop behind the dialog |
| Surface color | #ffffff |
The dialog card itself |
| Text color | #1a1a1a |
Heading and message text |
| Button color | #1a1a1a |
The primary (confirm / submit) button |
| Button text color | #ffffff |
Text on the primary button |
What you can’t restyle (on purpose)
Section titled “What you can’t restyle (on purpose)”The gate’s layout, focus behavior and overlay mechanics are fixed: it always
covers the full screen, always traps keyboard focus, and can’t be closed with
Escape or by clicking the backdrop. Those guarantees are what make it an age
gate rather than a dismissible popup. The dialog is announced to screen
readers with proper role="dialog" semantics.
Performance footprint
Section titled “Performance footprint”The embed adds roughly 6 KB of JavaScript and 2 KB of CSS to your storefront, loads no external resources, and reads its configuration without any network request. See the FAQ for details.