- Published on
Resizing Social Media Icons in Shopify's Origin Theme A Cozy Guide
- Authors
- Name
- Entaice Braintrust
Resizing Social Media Icons in Shopify's Origin Theme: A Cozy Guide
There's something electric about customizing your own little corner of the internet. It's like rearranging the furniture in a dollhouse - but one you can share with the world. A few summers ago, amidst the smell of freshly-brewed coffee and the quiet hum of my laptop, I decided it was time to give my Shopify store a personal touch. I had chosen the Origin theme, mostly because it had an elegant simplicity that spoke to my minimalist soul. But there was one tiny detail gnawing at me - those social media icons. They felt conspicuously out of place, like wearing socks with sandals.
I could hear my grandma’s voice in the back of my mind, reminding me about the power of the small things. She used to say that "little hinges swing big doors.” So, I decided: those social media icons, both in the header and the footer, needed a makeover. How big should they be? Big enough to not be ignored, but small enough to not scream, "LOOK AT ME!"
A Cozy Journey into Code
Here's how we did it, step-by-step, with just a sprinkling of code magic. Let's make your icons the perfect size for you.
Step 1: Access Your Theme Code
Ah, the thrill of diving into the belly of the beast! To change your social media icon size, we first need to access the theme's code. Head to your Shopify admin page. From there, mosey on over to Online Store in the sidebar. You'll see your themes. Find the magical little ‘Actions’ dropdown next to your current theme - that’s the secret door to enchanted lands. Click Edit Code. We’re in.
Step 2: Finding the Right File
Now, we're treasure hunters looking for the file that holds the secret to the social media icon sizes. In the Assets folder, you’re going to find a file named something like theme.scss.liquid
or style.scss.liquid
. It's always a good time to remember that control+F is our best friend. Just don't get too distracted by how many times you start doing this.
Step 3: Tweaking the CSS
This is where the magic (or madness, depending on your perspective) happens. In the CSS file, this little line of code is the Gandalf to your Bilbo:
.icon {
height: 25px;
width: 25px;
}
These numbers, my friend, are where you wield your power. Want those icons to pop? Bump them up to 30px
or 40px
. Craving subtlety? Try bringing them down a notch - say 20px or 15px. Play around. This is your tiny dance with digital destiny.
Here's a wee tweak if you want something a bit snazzier:
.icon {
height: 40px; /* or whatever size sparks joy */
width: 40px;
}
Step 4: Make it Consistent
But wait! What if you want to change both the header and the footer icons together? We can bundle it like a cozy pair of mittens. Look for any specific class or id that might be specifying header or footer. It might look something along the lines of .footer-icon
or .header-icon
. Adjust them similarly as follows:
.header-icon,
.footer-icon {
height: 40px;
width: 40px;
}
Step 5: Hit Save
Once you’ve finessed your CSS, don’t forget to save your changes. Take a deep breath and hit that Save button in the top corner. You've done it. You've really done it. Go ahead, revel in the glory of resized icons.
Wrapping it All Up
A sip of coffee never tasted so rewarding as right then when, after all those clicks and keyboard clacks, our social media icons finally looked just right. Like the whole universe was perfectly aligned, if only for a moment.
Remember, my fellow digital adventurers, that customization is a journey and not a destination. Though today might just be about resizing icons, tomorrow could be about adding a touch of color or adjusting the layout in a way that whispers "you" into every visitor's psyche. It's your story, painted in pixels. Exploring these little nuances, there’s always something new to discover.