> For the complete documentation index, see [llms.txt](https://help.byinspiredlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.byinspiredlabs.com/overlay-group/age-verifier.md).

# Age verifier

Ask visitors to confirm their age before they can browse your store.

The Age verifier shows a full-screen dialog that asks visitors to confirm their age before they can use your store. It's useful if you sell products for adults only, such as alcohol, tobacco or vape products. Visitors can't scroll or click the store behind it until they answer.

### 1. How to turn on the Age verifier

{% stepper %}
{% step %}
In the theme editor, scroll to the **Overlay** group below the **Header** group.
{% endstep %}

{% step %}
Find the **Age verifier** section. It's hidden by default, so click the **Eye** icon to show it. If it's not in the list, click **Add section** in the Overlay group and choose **Age verifier**.
{% endstep %}

{% step %}
Click the section to open the dialog in the editor preview and edit it. The dialog closes in the preview when you click away from the section.
{% endstep %}

{% step %}
Check that **Display mode** is set to **Active**, then save.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Note:** The Age verifier always takes priority over the [Email popup](https://help.byinspiredlabs.com/overlay-group/email-popup.md). If both are on, the Email popup waits until the visitor has answered the age question.
{% endhint %}

### 2. Section settings

**General**

* **Display mode:**
  * **Active:** The dialog shows until the visitor approves. After that, it stays hidden for the number of days set in **Remember approval for**. Use this for your live store.
  * **Test:** The dialog shows on every page load and approvals aren't remembered, so you can preview it. Remember to switch back to **Active** before you publish.
* **Remember approval for** *(1–90 days)*: How long an approval is remembered on the visitor's device. After that, the visitor is asked again.

**Appearance**

* **Background image:** An image shown behind the dialog content.
* **Image overlay opacity:** Darken the background image so the text is easier to read.
* **Blur the store behind the dialog:** Blur your store page behind the dialog.
* **Color scheme:** The colors of the dialog. Used when no background image is set.
* **Content alignment:** Options: Left or Center.

**Buttons**

* **Approve button:** The text on the approve button (e.g., "Yes, I am over 18").
* **Decline button:** The text on the decline button (e.g., "No, I am not").

**If declined**

* **Decline behavior:** What happens when a visitor clicks the decline button.
  * **Show message:** Show a message in the dialog instead of the question. Set the **Decline heading**, **Decline message** and **Return link label**. The return link takes the visitor back to the age question in case they clicked the wrong button.
  * **Redirect to link:** Send the visitor to another website or page. Enter it in **Redirect link**.

{% hint style="info" %}
**Note:** Padding, section width, section header and color settings work the same in every section. See [Common settings](https://help.byinspiredlabs.com/section/common-settings.md).
{% endhint %}

### 3. Block settings

Click **Add block** in the Age verifier section to add content to the dialog. Blocks show above the buttons in the order you arrange them.

* **Logo** (1): Show your logo.
  * **Image:** The logo image.
  * **Image width** *(40–320px)*: The width of the logo.
* **Heading** (up to 2): A short question, such as "Are you over 18?".
  * **Heading:** The heading text.
  * **Heading size:** Options: Small, Medium or Large.
  * **Use custom color:** Turn on to set your own **Text** color.
  * **Block spacing > Bottom padding:** Space below the heading.
* **Text** (up to 2): Supporting text, such as "Please confirm you are of legal age to enter this store."
  * **Description:** The text to show.
  * **Use custom color:** Turn on to set your own **Text** color.
  * **Block spacing > Bottom padding:** Space below the text.

{% hint style="warning" %}
**Important:** The Age verifier is a simple confirmation on your storefront. It asks visitors to confirm their age but doesn't check IDs or verify that the answer is true, so it isn't a legal age-verification service. Check the laws in the places you sell to see what age checks you need.
{% endhint %}
