I am trying to implement a night light for the website which will apply a orangish tint on the entire website. Issue is that right now, once the tint is applied as a div block on top of everything, I am unable to click anything that is under that overlay.
Is there a way to make it so that every element under it will be clickable but the div block still appears on top of everything?
First - Share your read only link so the rest of us can dive in to try to solve your issue. If You are not aware to the Z index parameter, read this from Webflow university all about Z index the value controls the stack order of an element. Hope it helps
Thanks for sticking around, but we decided to scrape that feature. But in case for future, on the dashboard page, I was trying to get the moon icon button (on the top right) to enable a yellow tinted overlay on the entire webpage as a nightlight. But doing so was making everything else unclickable. I have named the div block “Nightlight Div” right under the Body of that page. Currently its hidden by default.
I’m also VERY interested in this!
I have a mostly-transparent element I want to overlay everything to make the lighting look good, but still want everything on the page beneath to be interactable.
Thanks in advance to anyone willing to post a solution to this!
To summarize what I learned:
you have to:
1. Set the element index to 9999
2. Set the curser-event to NONE for the layer (bottom of style panel)
3. Enter some custom code into the header of your document (given in link above)
4. Set class of layer to “my-overlay” (as dictated in forum mentioned above)
My props and eternal thanks to CyberDave for solving it!