Streaming live at 10am (PST)

Menu animation leaving 'ghost' behind

Hey folks,

I’m trying to set up a custom navbar on this test portfolio site, and I wanted to use a dynamic menu hamburg I had in my files. I set the div in an embed in the navbar, and saved the js in the page custom code. When I publish, the animation works, but there is a ‘ghost’ button left behind.

Check this codepen for how it should work (same code): https://codepen.io/swagnerb/pen/WNOEeWz

Any help would be greatly appreciated!


Here is my site Read-Only: Webflow - Portfolio

Published site: https://portfolio-9c18f6-4e94e67a-68af377abf13b.webflow.io/