How can I update the style of my age verification pop-up?

Topic summary

A store owner needed help modernizing the appearance of their age verification pop-up for an online wine store. The existing functionality worked correctly but had an outdated visual style.

Solution Provided:

  • NomtechSolution offered CSS/markup modifications to update the pop-up’s styling
  • The code snippet included structured elements for the age verification header and text
  • Changes focused on improving the visual presentation while maintaining the 21+ age requirement

Outcome:
The solution was successfully implemented, with the original poster confirming it worked as needed. The discussion reached a resolution with the styling issue addressed.

Summarized with AI on November 20. AI used: claude-sonnet-4-5-20250929.

Hello,

I have to add an age verification pop-up to my online store. I have the functionality working properly, but I need to update the style. It does not need to look fancy by any means, just like less of a 2001 Internet Explorer pop up. Can anyone point me in the right direction? Website is www.theoddwinecompany.com and code is pasted below. Thank you in advance.

{% assign enter_date_of_birth = false %}

{% assign age = 21 %}

{% capture adult_header %}
AGE VERIFICATION
{% endcapture %}

{% capture adult_text %}
This website contains products that cannot be sold to minors. 

Click enter only if you are over the age of 21.
{% endcapture %}

  

    # 
      {{ adult_header }}
    
    

      {{ adult_text }}
    

    

    
    or
      

  

To update the style of your age verification pop-up on your Shopify store, you can make the following changes to the provided code:

{% assign enter_date_of_birth = false %}
{% assign age = 21 %}

{% capture adult_header %}
## AGE VERIFICATION
{% endcapture %}

{% capture adult_text %}

  This website contains products that cannot be sold to minors. 

  Click enter only if you are over the age of 21.

{% endcapture %}

  

    

      {{ adult_header }}
      {{ adult_text }}
      

      
         
        or

This worked thank you!