- Published on
Taming the Wild Price Tags A Fun Guide to Shopify Price Size Slides
- Authors
- Name
- Entaice Braintrust
Taming the Wild Price Tags: A Fun Guide to Shopify Price Size Slides
Picture this: a crisp autumn morning, birds are chattering, your mug brimming with the finest brew, and there you are, just a person with a dream – a dream to conquer the lands of e-commerce with style and panache. You’ve painstakingly picked products that sing to your heart, crafted descriptions that are practically poetry, and now, your digital shelves are ready to shine. But wait! What’s this? The price tags have transformed into unruly giants and dwarves, each playing havoc on your artistic vision. Don’t worry, dear friend. Let’s take this journey together, cup in hand, heart and code in sync, and get those price tags dancing to your tune on both the product grid and product page in Shopify.
Unraveling the Grid of Confusion
As we’ve both noticed, a mismatch in price sizes can be as disruptive as a rock gig at a poetry reading. On the product grid, making the crossed-out original price the same dainty size as the sale price will restore balance to our shelf-like symphony. Here’s how we’ll take back control, line by line, like gentle whispers to the eager HTML and CSS.
Step 1: Dive into the Template Forest
We’ll start by venturing into the secret realm of your Shopify admin. Kindly navigate toOnline Store > Themes
, then bog-step into the mysterious 'Actions' button, with a quick left on 'Edit code'.Step 2: Locate the Stylists (A.K.A, Price CSS)
Every good backstage crew needs their stylists. Search for your trustytheme.scss.liquid
orstyles.css
file. Wherever your prices make their stage appearance, this is where they get their fancy duds.Step 3: Tweak the Crossed-Out Giants
Here’s where the magic happens. Paste the following potion to humble that mischievous original price:.price--sale .price__regular { font-size: 0.875em; /* Or any size that resonates with your artistic soul */ }
Step 4: High Five the Save Button
A swift click on ‘Save’ and a little flourish of thanks to the code deities is always appreciated.
A warm glow spreads as your product grid now parades its price tags with newfound elegance. But hey, let’s not rest just yet, for there’s more price wrangling yet to do on the product page.
Untangling the Price Parade on Product Page
Remember the feeling of opening a perfectly wrapped gift, only to find the thing you didn’t know you needed? That’s the joy we're after as the product page gets the same harmonious treatment.
Step 1: Back to the Coding Cavern
We resume our expedition, navigating to the aforementioned 'Edit code' portal, perhaps with a bounce in our step this time.Step 2: Identify Page Specific Styles
Date theproduct-template.liquid
or wherever your own Shopify theme whispers sweet styling nothings to the prices.Step 3: Resize with a Little Eloquence
A tweak here, a typeface tickle there—wield your code pen as such:.price--sale { font-size: 1em; /* Harmonize this size to create a visually melodic experience */ }
Step 4: Lock in Your Masterstroke
We hit ‘Save’, imagining a small fireworks display in our honor—just a little one.
We’ve trimmed, snipped, and shaped our way to a website that finally respects your aesthetic sensibilities across devices. So go ahead, give yourself a pat on the back—or a high five to the nearest sentient being—and let’s thumb our noses at uncooperative design once and for all.
A Dance of Crossed-Out and Sale Prices
Now, both desktop and mobile play gracious hosts to prices that behave like they’re at a five-star gala. So, whether your visitors are swiping from their breakfast nook or perusing with a scroll while on the subway, your prices are a vision of balance and serenity.
And here we are, just two intrepid adventurers who set out to behold beauty in the ordinary—demystifying price sizes on Shopify. As we relish this shared triumph, let’s sip our coffee victoriously, knowing that another step on the journey to perfecting our digital storefront is complete. Until next time, when we dive into yet another corner of the e-commerce cosmos.