Boost Your Brand: How to Enlarge Your Shopify Logo on Mobile (A Community Guide)
Hey there, fellow store owners!
Ever notice how your beautiful brand logo looks absolutely perfect on desktop, but then shrinks down to almost unnoticeable on a mobile phone? You’re definitely not alone. This is a super common pain point for many Shopify merchants, especially as mobile traffic continues to dominate online shopping. We want our brand to shine, no matter the screen size!
Recently, a fantastic question popped up in the Shopify Community from @HyperactiveDesigns. They loved their logo's placement but wanted to know, “How can I increase the size of my logo on mobile only?” It’s a classic responsive design challenge, and thankfully, our community stepped up with a clear, actionable solution.
The Mobile Logo Dilemma: Why It Happens
The core issue here stems from responsive design principles. Shopify themes are built to adapt gracefully to various screen sizes, which typically involves scaling elements down for smaller displays. While this is crucial for overall layout and user experience, sometimes the logo can become a bit too small, losing its visual impact and making your brand less prominent. HyperactiveDesigns' original post included a screenshot that perfectly illustrated this – a sleek, well-placed logo, just a tad undersized for optimal mobile viewing.

This is where a little bit of custom CSS comes into play. It allows us to specifically target mobile screens and tell the browser, "Hey, when the screen is small (like a phone), make the logo this size, regardless of what the default theme settings say."
The Community-Approved Fix: Two Methods to Make Your Logo Pop
The solution, generously shared by Moeed (a true community hero!), gives us two excellent ways to tackle this. Both involve adding a small snippet of CSS code that specifically targets mobile screens. Before we dive into the "how-to," a quick but crucial tip: always duplicate your theme before making any code changes! This way, you've got a safe rollback point if anything goes sideways. Trust me, it’s a lifesaver.
Method 1: Quick & Easy Custom CSS in the Theme Editor
This is often the easiest and most recommended path for those who prefer to stay within the familiar theme editor interface. Many modern Shopify themes offer a dedicated "Custom CSS" area, especially for specific sections like the header. It’s a great way to add small tweaks without diving deep into the code files.
Steps:
- From your Shopify admin, go to Online Store > Themes.
- Find your current theme and click Customize.
- Navigate to your Header section settings. You might need to click directly on the header area in the theme preview or find it in the left sidebar.
- Look for an option called Custom CSS or something similar. This is often found at the bottom of the section settings or under a "Theme settings" gear icon.
- Paste the following code into the Custom CSS box:
@media screen and (max-width: 767px) {
.header-logo__image {
height: 60px !important;
width: 130px !important;
}
}
A quick breakdown of the code:
@media screen and (max-width: 767px): This is a "media query." It tells the browser, "Only apply these styles when the screen width is 767 pixels or less." This range typically covers most mobile phones and smaller tablets, ensuring your change is mobile-specific..header-logo__image: This is the CSS class selector that targets your logo image. While this class name is common across many Shopify themes, if the code doesn't seem to work, you might need to "inspect element" on your live site to find the exact class for your logo (it could be something like.site-header__logo-imageor similar, depending on your theme).height: 60px !important;andwidth: 130px !important;: These lines set the new dimensions for your logo. The!importanttag is a CSS rule that ensures these new styles override any existing ones, making sure your desired size takes precedence. You can (and should!) adjust60pxand130pxto your desired height and width to best suit your logo’s aspect ratio and your brand’s visual needs.
Method 2: Adding Code Directly to theme.liquid
If your theme doesn't provide a specific Custom CSS option for the header, or if you're comfortable with a bit more direct code editing and prefer to keep all your custom styles in one centralized location, you can add the CSS directly to your theme.liquid file. This method is a bit more hands-on but equally effective.
Steps:
- From your Shopify admin, go to Online Store > Themes.
- Find your current theme, click the Actions button, and then select Edit code.
- In the left sidebar, under the "Layout" directory, find and click on the
theme.liquidfile. - Scroll all the way to the very bottom of the file. You'll want to add the code just above the closing
