Streaming live at 10am (PST)

Webflow.push(function) issues with Custom code

Hi guys,

I have custom code for pulling the CMS items profile picture from Instagram to their card.
The problem is that instead of appearing on a specific card the profile pictures are stacking on top of each other on the first card. Could you help me to fix the custom code so it works properly?

Here is the code:


Here is my site Read-Only: https://preview.webflow.com/preview/personal-trainer-sydney?utm_medium=preview_link&utm_source=designer&utm_content=personal-trainer-sydney&preview=7224a1574d685f0918270af660731812&mode=preview

]

I think the problem is that you are replacing a photo src on an element with “photo” ID. IDs are unique, there can be only one element with a given ID on a page.

You should replace the src on a element (or one of its children, depending on your code) instead.