> For the complete documentation index, see [llms.txt](https://4sh-templates.gitbook.io/opulent-os2.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://4sh-templates.gitbook.io/opulent-os2.0/age-verifier-pop-up.md).

# Age verifier pop-up

If your website includes products designed for mature audiences, implementing an age verification pop-up can be beneficial to mitigate potential legal concerns in the future.

This article demonstrates how to regulate access based on age using Opulent Age Verifier pop-up functionality.

{% hint style="info" %}
The **Age verifier pop-up** 🔞 is only available in Opulent theme **version 3.4.0 and above**.
{% endhint %}

## How to activate age verifier

{% hint style="success" %}
**Steps:**

1. In the theme editor **(Customize)**, navigate to the **Age verifier pop-up** (at the end of the section list).
2. In the section settings, click **Enable**.
3. Make necessary changes.
4. Click **Save**
   {% endhint %}

<figure><img src="/files/LFn3E59mlIegFk3Wq743" alt=""><figcaption></figcaption></figure>

The pop-up will appear in the center of the page upon entering the site, and the customer will need to respond with either "Yes" or "No" to proceed.

Activate Design mode to ensure the popup is visible during your customization process.

## How to customize age verifier pop-up

In the feature settings, you can enable the **Design mode** to have the age verifier pop-up always displayed during your customization process.

### Block settings

Personalize your verification pop-up content using the section blocks, which are:

* Heading
* Subheading
* Text
* Button
* Image

You can add, remove, or reorder any elements within the section.

<figure><img src="/files/YYhzCcK62j5u64YJDej8" alt=""><figcaption></figcaption></figure>

### Section settings

**Background image**

Either select/upload an image for your age verifier screen's background or leave it blank.

{% hint style="info" %}
A 2000 x 800px image is recommended.
{% endhint %}

<figure><img src="/files/vRUCEJe1nkBctPG8W352" alt=""><figcaption></figcaption></figure>

#### Decline content

Personalize the response content displayed when the visitor does not meet the age verifier requirements as shown below.

<figure><img src="/files/aRETben6cWOgRJMsHkel" alt=""><figcaption></figcaption></figure>

The return button brings visitors back to the age verifier query for answering.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://4sh-templates.gitbook.io/opulent-os2.0/age-verifier-pop-up.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
