Slide-In popups can be used for any purpose. In this example, we’ll use one as an age-gate, to force users to verify that they are over the age of 18 before viewing the site. We’ll redirect them to a search engine if they say they are under 18, and close the popup if they say they are over 18. No other method will allow the user to close the popup to enter the site.
Create Popup
- Go to Dashboard > Templates > Popups > Add New
- Name your template and click ‘Create Template’
- Choose a template from the Library or create your own design
![Popups: Slide-Ins 2 file 0pS9X7x4zb Popups: Slide-Ins 1](https://elementor.com/help/wp-content/uploads/2020/04/file-0pS9X7x4zb-1024x554.png)
Popup Settings
Settings
- Set the Horizontal position to Center and the Vertical position to Center
- Show Overlay
- Hide Close Button
- Set Entrance Animation to Slide In Left
![Popups: Slide-Ins 4 file Sibx7KYn9K Popups: Slide-Ins 3](https://elementor.com/help/wp-content/uploads/2020/04/file-Sibx7KYn9K-473x1024.png)
Style
Set Overlay to either a solid color or gradient, with no transparency.
Adjust Content
Change content as needed. We used YES and NO buttons to either close the popup or redirect the user to another site.
For the YES button, we used the link field to set a Dynamic Popup Action to Close Popup.
![Popups: Slide-Ins 6 file uPcXbvmuNq Popups: Slide-Ins 5](https://elementor.com/help/wp-content/uploads/2020/04/file-uPcXbvmuNq-1024x916.png)
For the NO button, we set a link to Google, so the user would be sent away from our site.
![Popups: Slide-Ins 8 file p423XCcuS1 Popups: Slide-Ins 7](https://elementor.com/help/wp-content/uploads/2020/04/file-p423XCcuS1-1024x922.png)
Publish Settings
Conditions: Include: Entire Site
![Popups: Slide-Ins 10 file p2zr0PkrZk 2 Popups: Slide-Ins 9](https://elementor.com/help/wp-content/uploads/2020/04/file-p2zr0PkrZk-2-1024x705.png)
Triggers: On Page Load
![Popups: Slide-Ins 12 file YMQXs0LYFq 1 Popups: Slide-Ins 11](https://elementor.com/help/wp-content/uploads/2020/04/file-YMQXs0LYFq-1-1024x707.png)