Streaming live at 10am (PST)

Trying to get this codepen code to work in webflow

Hi guys,

I’ve been trying to replicate the following codepen in webflow, but I can’t get it to work.

Not even if I copy/paste the code over in custom code in webflow, it doesn’t work.
Can anyone help me?

How did you give proper IDs to your elements? (just checking)

Also Can you please share your project’s public link so it’s easier to understand your issue?

Learn how to do it here:

I’ll give the link when I get home.

I just copied the custom code and pasted in in the “before (/body)” part of webflow and wrapped it in (style) and (script). So no editing to the ID’s or anything, it just doesn’t seem to work.

The code works regarding of a certain html structure. You need to put both codes AND to replicate the same html structure, with same class and ID names.

I know, I’ve used this “technique” before when finding custom codes from codepen. And I always test it works with the original code before I start modifying it. Hence why i copied and pasted the original code first. But this doesn’t even work without ANY changes.

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