
Your hero banner is the first thing visitors see — and boring static text is leaving money on the table. Animated hero text grabs attention in the first 3 seconds, makes your store feel premium, and can lift conversions without installing another paid app.
Below are 6 copy-paste hero text animations for different store styles. Each one renders live right here so you can see it in action, followed by the exact code. Just pick your favourite, copy it, and paste it into a Custom Liquid section in your theme editor. Total time: under 2 minutes.
1. Fashion Store – Bold Slide-Up Hero Text
Fashion stores live and die by attitude. This bold slide-up animation makes your headline rise into view like a runway reveal — kicker first, then the big statement, then the button. The staggered timing (0s → 0.15s → 0.3s) creates a cinematic sequence that feels expensive. Perfect for new drops, seasonal sales, and lookbook heroes where you want maximum drama.
Preview
Sample text: “NEW SEASON, NEW YOU” — watch it slide up ☝️
Liquid Code
<div class="lk-hb1">
<p class="lk-hb1-kicker">NEW COLLECTION 2026</p>
<h2 class="lk-hb1-title">NEW SEASON,<br>NEW YOU</h2>
<a href="/collections/all" class="lk-hb1-btn">Shop the Drop</a>
</div>
<style>
.lk-hb1{background:#141414;text-align:center;padding:80px 20px;overflow:hidden;border-radius:12px}
.lk-hb1-kicker{color:#ff4d6d;letter-spacing:5px;font-size:13px;margin:0 0 14px;animation:lkHb1Up .8s ease both}
.lk-hb1-title{color:#fff;font-size:56px;line-height:1.05;margin:0 0 26px;animation:lkHb1Up .8s .15s ease both}
.lk-hb1-btn{display:inline-block;background:#ff4d6d;color:#fff;padding:14px 40px;border-radius:30px;text-decoration:none;font-weight:700;animation:lkHb1Up .8s .3s ease both}
@keyframes lkHb1Up{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}
</style>
2. Beauty – Soft Fade Hero Animation
Beauty brands need softness, not shouting. This gentle fade-and-scale animation eases your headline in like morning light — calm, premium, trustworthy. The warm beige palette and slow 1.4s timing mirror the unhurried ritual of skincare. Use it for serum launches, spa-like brand stories, or any store where the vibe is “self-care Sunday” rather than “50% off today only”.
Preview
Sample text: “Glow, Naturally” — soft fade-in above ☝️
Liquid Code
<div class="lk-hb2">
<p class="lk-hb2-kicker">Clean Beauty Essentials</p>
<h2 class="lk-hb2-title">Glow, Naturally</h2>
<a href="/collections/all" class="lk-hb2-btn">Discover More</a>
</div>
<style>
.lk-hb2{background:#faf5ef;text-align:center;padding:80px 20px;border-radius:12px}
.lk-hb2-kicker{color:#b08968;letter-spacing:4px;font-size:13px;margin:0 0 14px;animation:lkHb2Fade 1.4s ease both}
.lk-hb2-title{color:#5c4a3a;font-size:54px;font-weight:400;margin:0 0 26px;animation:lkHb2Fade 1.4s .25s ease both}
.lk-hb2-btn{display:inline-block;background:#b08968;color:#fff;padding:13px 38px;border-radius:30px;text-decoration:none;animation:lkHb2Fade 1.4s .5s ease both}
@keyframes lkHb2Fade{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
</style>
3. Electronics – Glitch Style Hero Text
Selling gadgets, gaming gear, or streetwear? The RGB-split glitch effect screams cutting-edge. Two coloured ghost copies of your headline jitter independently behind the main text, like a signal breaking through. It loops forever, so the energy never dies. Pair it with a dark background and neon accents — your tech-savvy audience will instantly get the vibe.
Preview
Sample text: “FUTURE IS HERE” — glitching live ☝️
Liquid Code
<div class="lk-hb3">
<p class="lk-hb3-kicker">MEGA TECH SALE</p>
<h2 class="lk-hb3-title" data-text="FUTURE IS HERE">FUTURE IS HERE</h2>
<a href="/collections/all" class="lk-hb3-btn">Shop Gadgets</a>
</div>
<style>
.lk-hb3{background:#050510;text-align:center;padding:80px 20px;border-radius:12px;overflow:hidden}
.lk-hb3-kicker{color:#00ffcc;letter-spacing:5px;font-size:13px;margin:0 0 14px}
.lk-hb3-title{position:relative;color:#fff;font-size:54px;margin:0 0 26px;letter-spacing:2px}
.lk-hb3-title::before,.lk-hb3-title::after{content:attr(data-text);position:absolute;left:0;right:0;top:0;overflow:hidden}
.lk-hb3-title::before{color:#00ffcc;animation:lkHb3Glitch 2.4s infinite linear alternate;clip-path:inset(0 0 55% 0)}
.lk-hb3-title::after{color:#ff2e63;animation:lkHb3Glitch 3.1s infinite linear alternate-reverse;clip-path:inset(55% 0 0 0)}
.lk-hb3-btn{display:inline-block;background:#00ffcc;color:#050510;padding:13px 38px;border-radius:8px;text-decoration:none;font-weight:700}
@keyframes lkHb3Glitch{0%{transform:translate(0)}20%{transform:translate(-3px,2px)}40%{transform:translate(3px,-2px)}60%{transform:translate(-2px,-2px)}80%{transform:translate(2px,2px)}100%{transform:translate(0)}}
</style>
4. Furniture – Elegant Letter-Spacing Animation
Luxury furniture is about patience and craft — and this letter-spacing animation says exactly that. Your headline starts wide and scattered, then elegantly tightens into place like fine joinery coming together. The slow 2-second ease feels deliberate and high-end. Ideal for furniture, watches, jewellery, or any store where “timeless” is the brand promise.
Preview
Sample text: “Crafted for Generations” — letters tighten elegantly ☝️
Liquid Code
<div class="lk-hb4">
<p class="lk-hb4-kicker">Handcrafted Furniture</p>
<h2 class="lk-hb4-title">Crafted for Generations</h2>
<a href="/collections/all" class="lk-hb4-btn">Explore Collection</a>
</div>
<style>
.lk-hb4{background:#f5f1e8;text-align:center;padding:80px 20px;border-radius:12px}
.lk-hb4-kicker{color:#8a6d3b;letter-spacing:4px;font-size:13px;margin:0 0 14px}
.lk-hb4-title{color:#3e3628;font-size:50px;font-weight:500;margin:0 0 26px;animation:lkHb4Space 2s ease both}
.lk-hb4-btn{display:inline-block;border:2px solid #8a6d3b;color:#8a6d3b;padding:12px 36px;border-radius:4px;text-decoration:none;letter-spacing:1px}
@keyframes lkHb4Space{from{opacity:0;letter-spacing:18px}to{opacity:1;letter-spacing:3px}}
</style>
5. Food – Bouncy Playful Hero Text
Food stores should feel fun and appetising — this bouncy pop-in does exactly that. Your headline springs onto the screen like popcorn, with a playful overshoot that makes people smile. The chunky 3D-style button with a hard shadow begs to be clicked. Use it for restaurants, snack brands, bakeries, or flash food sales where appetite appeal matters more than minimalism.
Preview
Sample text: “Yummy Deals Daily!” — boing! ☝️
Liquid Code
<div class="lk-hb5">
<p class="lk-hb5-kicker">Fresh & Tasty</p>
<h2 class="lk-hb5-title">Yummy Deals Daily!</h2>
<a href="/collections/all" class="lk-hb5-btn">Order Now</a>
</div>
<style>
.lk-hb5{background:#fff8e7;text-align:center;padding:80px 20px;border-radius:12px}
.lk-hb5-kicker{color:#e07b00;letter-spacing:3px;font-size:14px;font-weight:700;margin:0 0 12px}
.lk-hb5-title{color:#c2410c;font-size:56px;margin:0 0 26px;animation:lkHb5Bounce 1.1s ease both}
.lk-hb5-btn{display:inline-block;background:#f59e0b;color:#fff;padding:14px 40px;border-radius:40px;text-decoration:none;font-weight:800;font-size:17px;box-shadow:0 6px 0 #b45309}
@keyframes lkHb5Bounce{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.08)}70%{transform:scale(.96)}100%{opacity:1;transform:scale(1)}}
</style>
6. Fitness – Powerful Staggered Words
Fitness is about impact — and staggered word pops hit like a pre-workout. Each word slams in one after another with a springy overshoot, building your motivational slogan piece by piece until the final word lands in red. The rhythm keeps eyes locked for the full 1.2 seconds. Perfect for gyms, supplement brands, and athleisure stores that sell intensity.
Preview
TRAIN HARD. STAY HUMBLE.
Sample text: “TRAIN HARD. STAY HUMBLE.” — words pop in sequence ☝️
Liquid Code
<div class="lk-hb6">
<h2 class="lk-hb6-title"><span>TRAIN</span> <span>HARD.</span> <span>STAY</span> <span class="lk-hb6-hot">HUMBLE.</span></h2>
<a href="/collections/all" class="lk-hb6-btn">Start Training</a>
</div>
<style>
.lk-hb6{background:#0a0a0a;text-align:center;padding:90px 20px;border-radius:12px}
.lk-hb6-title{color:#fff;font-size:52px;margin:0 0 28px;letter-spacing:1px}
.lk-hb6-title span{display:inline-block;opacity:0;animation:lkHb6Pop .55s cubic-bezier(.2,.9,.3,1.5) forwards}
.lk-hb6-title span:nth-child(1){animation-delay:.1s}
.lk-hb6-title span:nth-child(2){animation-delay:.3s}
.lk-hb6-title span:nth-child(3){animation-delay:.5s}
.lk-hb6-title span.lk-hb6-hot{animation-delay:.7s;color:#ff3b3b}
.lk-hb6-btn{display:inline-block;background:#ff3b3b;color:#fff;padding:14px 42px;border-radius:6px;text-decoration:none;font-weight:800;letter-spacing:1px}
@keyframes lkHb6Pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
</style>
How to Add Hero Banner Text Animation to Shopify
- From your Shopify admin, go to Online Store → Themes.
- Click Customize on your live (published) theme.
- In the theme editor sidebar, click Add section → Custom Liquid.
- Copy the code from any variation above and paste it into the Custom Liquid box.
- Drag the section where you want it on the homepage and click Save — done! No app needed.
Customize the Hero Banner Text Animation
- Change the animation duration (e.g.
.8s→1.5s) to slow down or speed up any effect. - Swap the colours — background, headline and button colours are all plain CSS values you can match to your brand.
- Edit the headline text and button link directly in the HTML (
/collections/allcan point to any collection or page). - Adjust font-size values for mobile: wrap smaller sizes in a
@media (max-width:768px)block. - Remove the button entirely if you only want an animated headline — just delete the
<a>line.
More Shopify Code Sections
- Shopify Liquid Typing Text Effect
- Shopify Animated Gradient Text Effect
- Shopify Video Background Hero Section
- Shopify Liquid Announcement Bar with Scrolling Text
- Shopify Hero Banner Text Animation (Liquid + CSS)
- Shopify Animated Counter Section
- Shopify Testimonial Auto Slider
- Shopify Image Hover Zoom Effect
- Shopify Sticky Add to Cart Bar
Conclusion
Animated hero text is one of the highest-ROI tweaks you can make to a Shopify homepage — it costs nothing, takes two minutes, and instantly makes your store feel alive. Start with the variation that matches your brand’s personality, then tweak the colours and timing until it feels like yours. And remember: every animation above works with a plain Custom Liquid section, so you’ll never need a paid app for hero effects again.
Want more copy-paste Shopify sections like this? Check out LayoutKart’s premium Shopify templates — professionally designed themes packed with conversion-boosting sections, ready to launch in minutes.