Streaming live at 10am (PST)

Disable foreground scrolling while modal is open


#1

I'm having issues getting this code to work on my site. The modal i want to implement the code is the music video portfolio modal. You get to this modal by clicking the button in the music video tile.

The class name for the button is button1, the modal container class is modal container, and the music video portfolio is modal

here is a read-only link to the site i'm working on: https://preview.webflow.com/preview/melissa-vera?preview=1fb1ea108b816441d3b9c22a1eccc19e

here is the current code i'm using:

`


#3


#4