all classnames in the code should be lowercase. The reason why is because when Webflow publishes your code, they remove spaces, dashes and capital letters from class names.
Same here mikesellr - can’t for the life of me get this to work - my modal just keeps opening every time i refresh, try different browser etc… you have any luck yet?
how to save something-of-productlist shown in a div-block that i like on a website to a page with all products-i-like into a may-be-i-will-buy-list? for a-not-ecommerce site possible? for example I-like-old-buildings-site …
if I want the cookie to expire after 6 hours do I change the following
Cookies.set(cookieName, ‘ok’, { expires: 7 });
to
Cookies.set(cookieName, ‘ok’, { expires: .25 }); ?
Thank you so much for sharing this! I have tried doing it and I am failing somewhere … probably the class names. Would you mind taking a look in my project:
Hey - this is working great. But is there a way i can hide the cookie box in the design mode, and have it display on the live site if there are no cookies accepted?