Streaming live at 10am (PST)

Trying to get this codepen code to work in webflow


#1

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?

http://codepen.io/RobertHegeraad/pen/wtlHF


#2

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: http://help.webflow.com/sharing-your-public-webflow-site-link


#3

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.

https://preview.webflow.com/preview/codepentest?preview=8cc5cf1fb651a4e1ae42ce3c13d526b3


#5

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.


#6

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.


#7

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