Streaming live at 10am (PST)

Prevent body scrolling but allow overlay scrolling


#1

Hi there,

just wondering if there is a way to create this example more or less with native webflow CSS.
Especially the arian-hidden function.

best kalli


#2

Hi @Kalli2000!

Take a peek here, it shows some custom code that can be used to make the body overflow hidden on modal open and body set to overflow scroll when modal is closed:

I hope this helps! if not, share a link to your site and I am happy to take a look further: http://help.webflow.com/faq/how-do-i-share-my-sites-read-only-link

I hope this helps!


#3

thanks works perfect!


#4