Shopify Guides

Mastering Your Shopify Logo: Resize and Sharpen on Any Theme (Pitch Theme Example)

As a Shopify migration expert at Shopping Cart Mover, I've seen countless merchants grapple with the seemingly simple task of perfecting their store's logo. It's often the first visual impression, yet themes like Pitch can throw a curveball with restrictive default settings. The Shopify Community forums are abuzz with questions like @petandposy's, who struggled with a 100px logo limit on the Pitch theme, leading to frustration and blurry visuals. A crisp, appropriately sized logo is fundamental to brand identity and customer trust. Let's dive deep into how you can overcome these hurdles and ensure your brand always looks its best on Shopify.

Shopify theme code editor with logo height settings visible
Shopify theme code editor with logo height settings visible

Understanding the Shopify Logo Size Challenge

The core of the logo sizing challenge on Shopify themes, particularly those like Pitch, often lies in two areas: hardcoded theme limits and image resolution issues. As @Custom-Cursor rightly pointed out, a 100px cap in the theme editor usually indicates a hardcoded limit within the theme's schema. This means the visual editor itself prevents you from dragging the slider beyond a certain point. While you might try to force a larger display using custom CSS, as @sadik_ShopiDevs and @Maximus3 meticulously explained, CSS can only scale what's already there. It cannot magically add detail to a low-resolution image. If your source image is, say, 156px wide, and you stretch it to 300px with CSS, it will inevitably appear pixelated and blurry. This is often exacerbated by Shopify's automatic image optimization serving a smaller version, or by logos with excessive transparent padding that make the actual visual element smaller than the file dimensions suggest.

Method 1: The Quick CSS Override (and its limitations)

For minor adjustments or when you're confident your uploaded image is high-resolution, a CSS override can be a quick fix. However, as @tim_tairli wisely cautioned, this approach is best for slight enlargements. Attempting to double or triple the size of a low-res image using CSS alone will almost certainly lead to a blurry outcome.

To implement a CSS override, follow these steps:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find your current theme (e.g., Pitch) and click Actions > Edit Code.
  3. In the Assets directory, locate and open your main CSS file. This is often named base.css, theme.css, styles.css, or custom.css, depending on your theme.
  4. Scroll to the very bottom of the file and add your custom CSS. You'll need to inspect your site to find the correct CSS selector for your logo. A common selector might look like .site-header__logo-image or .header__heading-logo.
/* Example CSS to increase logo size */
.site-header__logo-image {
  max-width: 200px !important; /* Adjust to your desired width */
  height: auto !important; /* Maintain aspect ratio */
}

The !important flag is often necessary. After saving, clear your browser cache and check your store. If blurry, your source image needs attention.

Method 2: Editing Theme Code for Permanent Control

When the theme editor imposes a strict maximum, such as the 100px limit on Pitch, the most robust solution is to edit the theme's schema directly. This method allows you to genuinely increase the adjustable range within your theme settings, giving you more control without relying solely on CSS overrides that can lead to blurriness if the image isn't optimized.

@tim_tairli provided an excellent example of how to modify the schema for the logo height setting. Here's how to do it:

  1. From your Shopify admin, navigate to Online Store > Themes.
  2. Find your current theme and click Actions > Edit Code.
  3. In the Sections directory, look for a file related to your header or logo. Common filenames include header.liquid, section-header.liquid, or sometimes a file within the Config directory like settings_schema.json. You're looking for the section that defines the logo height setting.
  4. Once you locate the relevant file, search for the logo height setting. It will typically look something like this:
    "type": "range",
    "id": "logo_height",
    "min": 20,
    "max": 100,
    "step": 10,
    "default": 50,
    "unit": "px",
    "label": "Logo height"
    
  5. Modify the "max" value to your desired maximum (e.g., 300). It's also good practice to adjust "min", "step", and "default" to be divisible by the new "step" value, as @tim_tairli suggested. For instance:
    "type": "range",
    "id": "logo_height",
    "min": 20,
    "max": 300,
    "step": 5,
    "default": 50,
    "unit": "px",
    "label": "Logo height"
    
  6. Save your changes. Now, when you go back to Online Store > Themes > Customize, you should find that the logo height slider in your theme settings allows for a much larger maximum value.

Important Note: Always duplicate your theme before making any code edits. This provides a safe rollback point if something goes wrong. Direct theme code edits can be overwritten by updates; record modifications or use a child theme.

Method 3: The Foundation – High-Resolution Image Optimization

Regardless of CSS or theme code edits, a sharp logo starts with the source image. This was a critical point raised by @sadik_ShopiDevs and @Maximus3 in the forum thread. Even if you set a CSS width of 200px or a theme setting of 300px, if your uploaded logo is only 156px wide, it will appear blurry when scaled up.

Here’s what you need to ensure:

  • Upload High-Resolution Images: Aim to upload a logo that is significantly larger than its intended display size. For a logo displaying at 200-300px, upload 600-1000px wide (or 2x for retina). The browser will then scale this larger image down, resulting in a much crisper appearance.
  • Check Actual Dimensions: Don't just assume your 'high-res' image is being served as such. Use your browser's developer tools (right-click on the logo and select 'Inspect') to check the actual dimensions of the image file being loaded. @Maximus3 highlighted this when he noted @petandposy's 1000px wide image was actually being served as 300x200. This could be due to Shopify's automatic image resizing, or an SEO app compressing it too aggressively.
  • Minimize Transparent Padding: Crop your logo tightly in an image editor before uploading to maximize the visual element within the file's dimensions. The effective visual size is often smaller than file dimensions.
  • File Format: For logos with transparency, PNG is generally the best format. For logos without transparency, a high-quality JPG can work, but PNG often provides sharper edges. SVG is ideal for infinite scaling without quality loss, though not all themes fully support it without customization.

Troubleshooting Common Issues

  • Caching: After making changes, always clear your browser cache or try viewing your store in an incognito window. Shopify's CDN can also sometimes cache older versions of assets.
  • Wrong Image: As @Maximus3 suggested, ensure you're editing the correct logo image. It's common to have multiple versions or to have an app override the default. Verify the filename in your Shopify Admin > Content > Files.

Why a Professional Logo Matters for Your Shopify Store

Your logo is your brand's cornerstone. Its quality impacts customer perception of professionalism and trustworthiness. A blurry logo deters customers; a sharp one reinforces credibility and enhances user experience. For merchants building an online presence, especially on Shopify, these details are paramount. If you're considering launching your own online store, a robust platform like Shopify provides the tools to build a beautiful and functional site, and getting your logo right is a crucial first step. Start your Shopify journey today and build a brand that truly stands out.

Perfecting your Shopify logo, especially on themes like Pitch, significantly impacts brand quality. By understanding the interplay between theme settings, CSS, and crucially, your image's native resolution, you can ensure your logo always looks sharp and professional. Whether you're making a minor tweak or undertaking a full platform migration, attention to these visual elements is key to e-commerce success. At Shopping Cart Mover, we specialize in helping businesses navigate the complexities of online store management, ensuring every detail, from your logo to your product listings, is optimized for peak performance.

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases