Join the Webstudio community

Updated 6 months ago

Imported Cookie Banner Disappears Quickly

At a glance

A community member imported a cookie banner in their project settings, but it disappears after one millisecond. Other community members suggest this is a common issue with imported cookie banner code, even from GPT. They recommend sharing the project link and published site for help. One community member provides a link to the project, and another suggests the cookie banner code should be in an HTML embed with "client only" enabled, rather than in the project settings. The community members seem to have found a solution, with one expressing gratitude for the help after struggling for hours.

Useful resources
I imported a cookie banner in project settings, unfortunately it dissapears after one mili second
J
S
O
12 comments
Ah that would require a fix
Happens with every cookie banner code I import, even from gpt
@SukadeNft if you want any help always share project link and published site
mate, there should be 2-4 breakpoints tops, what have you done?
Attachment
image.png
I don't know where exactly the code for the cookie banner is
but did you use client only?
Its in project settings
I am a beginner and this went really wrong, needed lots of frame changes for one item
that's not where its supposed to be if it renders something in the body, it has to be in html embed with client only enbaled
Been struggling for the past hours trying to find a solution
Add a reply
Sign up and join the conversation on Discord