Disable scrolling (Body overflow)

Not long ago when my lightbox window pops up scrolling of background was disabled. I used script like:

But today it stoped working. Background scrolls. I’ve tried another code I’ve seen here but nothing changed.
Project - https://preview.webflow.com/preview/sk-agency-2?preview=3c5f15090e719e6912500d4ed9226ee4
Hope anybody can help with this.

Check your custom code. Invalid custom code will break your site.

See browser console for hints as to where the script is invalid.

This topic was automatically closed after 60 days. New replies are no longer allowed.