So I’ve run into an issue where my interaction animations (Page Load, Scroll, Hover, etc) aren’t working as designed in the code that I’ve exported and hosted elsewhere (Bluehost, for transparency). I’ve attempted to open the site using several different browsers (Chrome, Firefox, Safari), and have been running into similar issues every time. I’ve also opened the files directly in browser, so the issue seems to be with the code itself.
I’ve read through the code and it seems like the js file is linked properly in both the html and css, and otherwise I have no idea why these would be an issue.
Has anyone run into similar issues? Or have ideas as to how I might resolve this?
I have run into this issue and I believe it’s caused by certain ID numbers relating to the interactions being different from those in the site’s .CSS file.
I found I needed to flush the cache of my CDN (CloudFlare) in order for the browser to re-download the correct .CSS file.
(Obviously make sure you’re uploading the site’s .CSS file even if you’re only making ‘page level’ changes.)
Hey guys, I was also struggling to get my Webflow interactions working on a Shopify site. The main thing that solved my issue was including Webflow’s data attributes on the <html> element!
My exported Webflow code’s <html> element looked like this: <html data-wf-page="64769715d408147e1301ade2" data-wf-site="64769715d408147e1301addc">
I had included all of the Webflow CSS and JS already but nothing seemed to work until I added those data attributes to my <html> element in Shopify. Hope that helps!
If you guys are using Cloudflare pages to host your project, I recommend disabling Auto Minify JavaScript in Speed > Optimization. This was causing this problem for me.
I have the same problem. i feel that Webflow don’t want exported code animation to work, instead, they want you to pay extra to host your website using a custom domain. another way u can still use the exported code is without using interaction, u can still use hover in style. but not interaction. and add the animation using code using chatgpt if u know little bit of code. that will work well. so remember to remove all the interactions before exporting the code