How do I implement a codepen (HTML, CSS, and Javascript) to my Shopify website?

I want to implement a codepen to my website. It has HTML, CSS, and Javascript. I’m not sure how to implement these codes into a Shopify website. I’ve tried uploading the CSS and Javascript as assets and linking them inside the theme.liquid body tags. I’m adding the HTML in the pages I want them to appear (like the product pages template), but see no results. Any one experienced with this? I’m mainly testing this out in order to be able to implement codes I will need in the future. The codepen link is here: https://codepen.io/Mamboleoo/pen/abybJZN

Welcome to the forums.
I’m not familiar with Shopify sites, but, I’m assuming that they have pre-made templates and you would have to edit them.

I found this:
https://community.shopify.com/c/shopify-design/how-to-add-code-into-shopify-page/td-p/485398

and,
https://shopthemedetector.com/blog/how-to-add-html-code-in-shopify/

Hope that helps!

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