A space to discuss online store customization, theme development, and Liquid templating.
I am not sure why, but whenever I try to add this code to the shopify site as custom liquid, it does not show up. My code does not have any errors that I can find, so I am unsure what the error could be. When I run it on Codepen it is fine, and same with Visual Studio Code. I went as far to make a more liquid-friendly file with a schema and added it to the theme. Still, it didn't show up at all. not sure what the problem is or if shopify has some super secret way to add it?
Here is the code for a section I was making, featuring a fade animation:
Solved! Go to the solution
This is an accepted solution.
remove the <body> tags for use in custom-liquid settings.
get the relative off the <body> tag and put the other code in it's own container for testing.
When working then position the container to the body.
In the css all the absolute position elements will be right on top of each other.
Make sure you a previewing the correct theme.
With custom-liquid settings make sure the code is saving.
Inspect the actual rendered HTML source(ctrl+u) of the themes frontend to ensure the code is being rendered.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
remove the <body> tags for use in custom-liquid settings.
get the relative off the <body> tag and put the other code in it's own container for testing.
When working then position the container to the body.
In the css all the absolute position elements will be right on top of each other.
Make sure you a previewing the correct theme.
With custom-liquid settings make sure the code is saving.
Inspect the actual rendered HTML source(ctrl+u) of the themes frontend to ensure the code is being rendered.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Okay, excellent! That solved the issues! 🙂