Page Code works in Preview but not on Live Site

I added some code to one of my pages, when Corvid was still called Wix Code (like 7 months ago). At the time that I wrote the code, everything was fine and there wasn’t an issue. This last month I noticed that the code isn’t working on the live site. I checked out the code in the website editor, and there weren’t any visible errors. I even ran the site in the Preview window, and it worked. I published the site again after checking the code, but it still doesn’t work on the live site.

I attached a picture of some svg shapes that show up when the code works. On the live site the shapes don’t appear and nothing seems to happen.
For some more background, the drawing in the picture is in a slideshow box with the image being clickable.