Hi, give your overlay div a class name, for example “my-overlay” and then paste the following code into the Custom Code section of your site settings in the HEAD panel of the custom code:
Then publish and check out if it is working for you. If you want IE support, then there was one additional comment to add the following CSS also to the HEAD section:
And note with the example of IE, this example is loading a transparent image from url.
Try that out and see how it works for you. Sometimes, when working with specific behaviours, you need to play around with things, to see how they work. Let us know how you do We are in process of making more css related documentation and videos based on different ways users are getting creative with Webflow. Cheers !