# Age verifier pop-up

Ask visitors to confirm their age before they enter your store. Use it if you sell age-restricted products, such as alcohol or tobacco, to help you comply with local laws.
The age verifier popup works with Minimog 3.4.0 and above.
## How to set up Age verifier popup
1. Open the theme editor (**Edit theme**).
2. Click **Age verifier popup** under **Footer** in the sidebar.
3. Turn on **Enable**.
4. Turn on **Design mode** to see the popup while you edit.
5. Click a block under **Age verifier popup** to edit the popup's content.
6. Turn off **Design mode**.
7. Click **Save**.
The popup appears at the center of the page when visitors enter your store. They must answer yes or no to continue.
Turn off **Design mode** before you launch your store.
## Section settings
### Design mode
| Setting | Description | Options |
| --------------- | -------------------------------------------------------------------------- | ------------------ |
| **Design mode** | Keeps the popup always visible while you customize it in the theme editor. | **On** or **Off**. |
### Settings
| Setting | Description | Options |
| ---------- | ---------------------------------------------- | ------------------ |
| **Enable** | Turns the age verifier popup on in your store. | **On** or **Off**. |
### Background image
| Setting | Description | Options |
| ------------------ | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| **Image** | The image behind the popup. | Click **Select** to choose an image, 2000 x 800 px recommended.
*Leave blank for no image.* |
| **Blur the image** | Blurs the background image so the popup stands out. | **On** or **Off**. |

### Decline content
What visitors see when they don't meet the age requirement.
| Setting | Description | Options |
| ---------------------- | -------------------------------------------------------- | -------------------------------------------------- |
| **Heading** | The heading of the decline message. | Enter text, such as `Come back when you're older`. |
| **Text** | The message below the heading. | Enter text. |
| **Return button text** | The button that takes visitors back to the age question. | Enter text, such as `Oops, I entered incorrectly`. |

## Blocks
Blocks make up the popup's content. To add one, click **Add block** under **Age verifier popup** in the sidebar. You can add up to 5 blocks and drag them to reorder.

### Heading
| Setting | Description | Options |
| ---------------- | ---------------------------- | --------------------------------------------------------------------------------------------------- |
| **Heading** | The main title of the popup. | Enter text, such as `Confirm your age`. |
| **Heading size** | The size of the heading. | **Heading xs**, **Heading sm**, **Heading md**, **Heading lg**, **Heading xl**, or **Heading 2xl**. |
### Text
| Setting | Description | Options |
| ------------- | ------------------------------------------------ | --------------------------------------------------------------------- |
| **Content** | The text in the popup, such as the age question. | Enter text, such as `Are you 18 years old or older?`. |
| **Text size** | The size of the text. | **Small**, **Base size**, **Large**, **Extra large**, or **Default**. |
### Buttons
| Setting | Description | Options |
| ----------------------- | ----------------------------------------------------------- | ---------------------------------- |
| **Decline button text** | The button for visitors who don't meet the age requirement. | Enter text, such as `No, I'm not`. |
| **Approve button text** | The button for visitors who meet the age requirement. | Enter text, such as `Yes, I am`. |
### Subheading
| Setting | Description | Options |
| -------------- | ---------------------------------- | ----------- |
| **Subheading** | A short line of text in the popup. | Enter text. |
### Image
| Setting | Description | Options |
| --------------------------- | ------------------------------------------------------------- | -------------------------------------------------------------------------- |
| **Image** | The image in the popup, such as your logo or an illustration. | Click **Select** to choose an image. |
| **Use custom image width** | Lets you set the image width yourself. | **On** or **Off**. Turn off to use the default image size. |
| **Custom image width (PX)** | The width of the image. | **50 to 350 px**.
*Works when **Use custom image width** is on.* |
With **Design mode** on, the preview shows your popup, and the decline button opens your decline message.