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!
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
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