A user is trying to implement a marquee logo slider from Codepen.io into their Shopify store but encountering issues when inserting the code into custom sections or HTML blocks.
Problem:
The original code appears incomplete or corrupted, with reversed/garbled CSS and HTML in parts of the post
User attempted both custom sections and custom HTML sections without success
Solutions Provided:
Solution 1 (Liquid_xPert_SJ):
Create a dedicated section file and wrap the code properly
Key issue identified: missing <style> tags around the CSS
Provided corrected markup with proper HTML structure
Solution 2 (MRamzan):
Offered a complete Shopify-native solution using Liquid templating
Shared code for a customizable “Marquee Images” section with:
I have an issue. Unfortunately, I’m unable to insert the following code into a custom section. I’ve also tried inserting it via a custom HTML section. Have I done something wrong? The code is from Codepen.io, and I’m attempting to adapt it to my website, but I’m struggling. Could you provide some clarification?