1. Home
  2. Docs
  3. Happy Elementor Addons Fr...
  4. Widgets
  5. Age Gate

Age Gate

How to use the Age Gate widget to create an age verification banner notice on your Elementor site

Welcome to the documentation for the HappyAddons new “Age Gate” widget! This widget ensures that visitors confirm their age before accessing specific content on your website. Whether you’re managing a liquor store, a gaming platform, or any other age-restricted content, the Age Gate widget provides an easy solution for age verification. This widget integrates seamlessly with your Elementor-powered website, allowing you to create a secure and compliant user experience.

For example, let’s consider a pretend scenario. Imagine you have a gaming platform and want to ensure that only visitors over 16 years are allowed to access certain pages. By using the Age Gate widget, visitors will be asked to enter their date of birth or confirm their age before proceeding to the page. This simple but effective age check helps prevent underage access, ensuring both legal compliance and peace of mind for your business.

image

Pre-requisite

To enable the Age Gate widget, you need to have,

  1. Elementor Free
  2. HappyAddons Free

Adding the Age Gate Widget:

PS: If you want to show the Age Verification Notice all over the site, then add the Age Gate widget to the Header by using the Theme Builder.

To add the Age Gate widget to your page, follow the below-mentioned steps:

  • Open Elementor and edit the page where you want to add the Age Gate widget.
  • In the Elementor panel on the left side of the screen, search for “Age Gate” in the search bar.
  • Click and drag the Age Gate widget anywhere on the page.
  • The Age Gate widget will now appear on your page; you can now configure it as needed.
image 1

The Default View of our Age Gate Widget

age gate 1

Configuring the Age Gate widget:

Content:

Age Gate:

The very first setting you will see by navigating the Content section is Age Gate. Under the Content settings, you can enable the Live Editor Preview of the widget. By enabling the Editor Preview, you will be able to design while viewing the live preview.

image 2

Age Gate Style: 

You will have 3 different Age confirmation Styles. Either your users have to confirm their age by clicking the confirmation button, Date of Birth, or Yes/No button. The Reference images are given below: 

Confirm age by Confirmation Button: 

image 3

Confirm age by Birth Date:

image 4

Confirm age by Yes/No button:

image 5

Header:

You can add an Image, Title, and description of the Age Gate widget. You can align the Title and Description position here in the Header section. 

image 6

Form Body:

According to the Age Gate styles, you can control the form body. For example, if you choose the Age Confirmation Button,, you can add button text and icon with its position and align the button position.

image 7

On the other hand, if you select the Confirm by Birth Date style, you can add the Minimum Age Limit and Form content width by pixel or percentage. You can control the button and icon as well.

image 8

Lastly, if you select the Confirm by Yes/No button then you can add Button 1 and Button 2 text as Yes/No or as per your preference. You can add icons, text, and positions as well. 

image 9

Footer:

You can add Footer Text and Warning Message in the Footer settings. Alignment control of the text is also available in this section. 

image 10

Frontend view(Warning Message):

image 11

Others Option:

You can add the Side Image here. You can set the Image position and Direction to display the image as your preference. Along with that, you can set the Cookie Expiry Time here as well. The cookie expiry time will allow users to use cookies for a certain period of time. 

image 12

Style:

Box Style:

Header Image:

You can set the popup box width and height according to your design. You can select the background option as Image or Color. 

You can set the Border type and radius. You will also find the Box Shadow and Overlay option right underneath the Border Control. 

Title:

You can set the Color and Typography for the title. Here, you will get the Margin and Padding control for the title. 

Description:

You can set the Color and Typography for the description. Here, you will get the Margin and Padding control for the description as well. 

image 13

Date Input:

You can set the Color and Typography for the Date Format of the Age Gate widget. You will get the Margin and Padding control. Border control and Box Shadow are also available in this style setting. You can choose the Background type as a solid color or a gradient color. 

image 14

Button:

You can set the Color and Typography for the Button of the Age Gate widget. You will get the Margin and Padding control. Border control and Box Shadow are also available in this style setting. You can choose the Background type as a solid color or a gradient color.

You can set the icon size, color, and offset for responsive devices.  There is a hover style setting available on this particular button and Button Icon.

image 15

Footer:

You can set the Color and Typography on the Footer section of the style tab. Here, you will get the Margin and Padding control for the title.

image 16

Warning Message:

You can set the Color and Typography for the Warning Message of the Age Gate widget. You will get the Margin and Padding control. Border control and Box Shadow are also available in this style setting. You can choose the Background type as a solid color or a gradient color. 

image 17

Congratulations! You have successfully configured the Age Gate widget. If you have any further questions or need additional support, don’t hesitate to reach out. Thank you for using HappyAddons.

How can we help?