Hi,
I’m dealing with a rather annoying problem related to display. I’m currently setting up a cookie banner, which, after acceptance, should no longer appear (even after refreshing the page). However, despite setting “display: none” in the designer and trying to force the display to “flex,” Webflow stubbornly keeps setting it to “block.”
What is even worse that after refreshing the site, it comes back to “block” (even if JS sets it to ‘none’ after you click the button)
Anyone has any idea what might be wrong?
It looks to me like Webflow is overriding the value by setting it to ‘block’ (the value is never set to ‘block’ by me, only to ‘flex’ or ‘none’).
Couple of screenshots below with JS code used to manage the cookie banner
Here is my site Read-Only: Webflow - zdaj.it