Shopify themes, liquid, logos, and UX
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
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!
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)
.logo-desktop { display: block; } .logo-mobile { display: none; } @media screen and (max-width: 768px) { .logo-desktop { display: none; } .logo-mobile { display: block; } }
<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:
Pro Tips:
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
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