How to set custom cookie consent banner
Cookie Consent
Create a custom cookie consent (that complies with GDPR law) directly in Shopify and customize it in Webflow.
Setup
- Copy & paste the Manage Preferences button into your Webflow project. You can style the button however you like, with complete creative freedom.
- Go to your Shopify Panel > Settings > Customer Privacy and click on Cookie banner.
- Click on Activate cookie banner button.
- Then you can go to the Appearance section and click on Customize.
-
From the customize menu you can manage any aspect of your cookie consent banner, including text, colors, and layout.
-
You can also add 4 CSS Variables in Webflow to customize the banner (use the exact variable names below):
- Shopify-banner-border
- Shopify-banner- border-radius
- Shopify-banner-margin-vertical
- Shopify-banner-border-color