We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Add different Logo for Desktop and Mobile

Add different Logo for Desktop and Mobile

ChloeCe
Visitor
1 0 0

Hi! 

I am looking to add 2 different versions of my logo on desktop and mobile. I use the eurus Theme. 

Anyone has an idea what code I need and where do I need to place it?

 

Thank you!

Replies 2 (2)

TheUntechnickle
Shopify Partner
555 66 161

 

Hey @ChloeCe! 👋

 

I can definitely help you with this! Having different logos for desktop and mobile is a great way to optimize your branding across devices. Here's how to do it with the Eurus theme:

 

Method 1: Using CSS Media Queries (Easiest)

 

  1. Upload both logos to your theme's assets:
    • Go to Online Store → Themes → Actions → Edit Code
    • Upload your desktop logo and mobile logo to the Assets folder
    • Name them something like logo-desktop.png and logo-mobile.png
  2. Add this CSS to your theme's stylesheet:
    • Find assets/theme.css (or similar) in your theme files
    • Add this code at the bottom:

 

 
.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .logo-desktop {
    display: none;
  }
  
  .logo-mobile {
    display: block;
  }
}
  1. Edit your header template:
    • Find sections/header.liquid (or wherever your logo is)
    • Replace your current logo code with something like:

 

 
<img src="{{ 'logo-desktop.png' | asset_url }}" alt="{{ shop.name }}" class="logo-desktop">
<img src="{{ 'logo-mobile.png' | asset_url }}" alt="{{ shop.name }}" class="logo-mobile">

 

Method 2: Theme Customizer (If available)

Some versions of Eurus might have built-in options for this:

  • Go to Customize Theme
  • Look for Header settings
  • Check if there's an option for "Mobile Logo" or similar

Pro Tips:

  • Keep your mobile logo more compact/square shaped
  • Test on actual devices, not just browser resize
  • Make sure both logos are optimized for web (under 100KB ideally)

 

Let me know if you run into any issues with the code placement - every theme can be slightly different!

Hope this helps! 🎉

Shubham | Untechnickle

Helping for free: hello@untechnickle.com


Don't forget to say thanks, it'll make my day - just send me an email! 


Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App

namphan
Shopify Partner
2777 358 407

Hi @ChloeCe,

Please go to Actions > Edit code > Sections > header.liquid file. 

Please send me the full code of the file, I will check and add option for you

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com