I see in your read-only link you’re using Link With Arrow as class name. Weflow will convert it to link-with-arrow so it might have conflicted with the way you defined your buttons array. Right now your buttons array reads: buttons = document.getElementsByClassName("modal");, I think you could try buttons = document.getElementsByClassName("link-with-arrow"); and see how it goes.
EDIT: would you have a published link to provide for us to have a look at the issue ?
EDIT 2:
but am having an issue now where all classes with that name (link-with-arrow) are launching a modal
That is precisely what the script should be doing, every button with that class should launch a modoal on click. They shouldn’t launch the modal all in the same time, ony on button click, like on the codepen.
Nice website by the way ! ![]()