Shopify themes, liquid, logos, and UX
Hi Everyone,
I'm designing my first website.
I saw this animation and want it in my store. As I'm scrolling up. A new image is coming up with text other info.
How to do this ? https://themes.shopify.com/themes/reformation/styles/glamour/preview
Hi @Farmmedix
To create the scrolling animation effect, where new images and text appear as you scroll, you'll need to add parallax scrolling or scroll-triggered animations to your Shopify store. Shopify's theme editor and liquid code support basic animations, but for a custom effect like this, you may need to modify the theme code and possibly use a JavaScript library like ScrollReveal.js or AOS (Animate On Scroll).
Download the AOS library from AOS GitHub or use the following links to include it directly:
<link href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
Initialize AOS in your JavaScript by adding this code inside a <script> tag at the end of your theme.liquid file, right before </body>: https://prnt.sc/TR1-k-RywH4J
<script>
AOS.init({
duration: 1000, // duration of the animation in ms
once: true, // whether animation should happen only once - while scrolling down
});
</script>
Add data-aos attributes to the HTML elements you want to animate. For example, to make an image and text fade in as you scroll:
html
Copy code
<div data-aos="fade-up">
<img src="your-image.jpg" alt="Image">
<p>Your text here</p>
</div>
Using this method, you can create the same scroll-triggered animations where images and text appear dynamically as the user scrolls. Just be sure to test across different devices to ensure it looks smooth and performs well.
Best regards,
Daisy
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025