All things Shopify and commerce
Hi,
I'm using the Trademark theme and I'm following all the guidelines, but my logo still appears fuzzy. I have a perfectly good logo that looks great at any size. Trademark asks for a 200x 60px .png file. I've uploaded the logo multiple times in multiple formats. I've even tried uploading it as a Shopify file instead of uploading it through my theme, but that didn't work. So I decided to upload my logo in my product images, and it shows up perfectly clear there!!
If anybody has any new ideas I would be very grateful.
Thank you!
This issue you should ask your trademark theme owner. They can help you.
Hi Taylor,
I've checked your logo and in fact it's fuzzy in Chrome but sharp in Firefox.
One way to fix it in Chrome is to set CSS property image-rednering: pixelated
HTH,
Lukasz
Try using a vector (.svg) instead of png.
Vector graphics are infinitely scalable without loss of resolution, and double bonus they're lighter in file weight too.
It seems Shopify won't allow me to upload any vector files. 😞
I didn't find a solution but I did learn that the issue depends on the template I use.
Just browsing through these threads on logos and wonder which template you found that worked...
Hello!
Is there any chance for Shopify, to come with an answer that really solves the problem of the blurry logo. So many people seem to have this problem, causing to really stop with Shopify. And I have been researching myself for a while now, to find a solution. But it seems that Shopify doesn't respond to it.
I tried all diff sizes and my logo remains blurry (maisonhijab.com). Can someone please help?
I did a workaround for it.
I am new to Shopify and I am using debutify theme. I am not sure if the code looks exactly the same for all themes.
One more thing is I have used a transparent background logos everywhere.
Steps:
{% if section.settings.inverted_logo and template.name......
......{% else %}
<span class="default-logo">{{ shop.name }}</span>
<span class="mobile-logo">{{ shop.name }}</span>
{% endif %}
{% if section.settings.inverted_logo and template.name == 'index' or template.name == 'collection' or template.name == 'article' %}
<img class="logo inverted-logo" src="{{ 'fleezy_logo_transparent_light.png' | asset_img_url : 'x200' }}"
srcset="{{ 'fleezy_logo_transparent_light.png' | asset_img_url : 'x200' }} 1x, {{ 'fleezy_logo_transparent_light.png' | asset_img_url : 'x200' }} 2x"
alt="{{ 'fleezy' | default: shop.name }}"
itemprop="logo">
{% else %}
<span class="inverted-logo">{{ shop.name }}</span>
{% endif %}
{% if section.settings.default_logo %}
<img class="logo default-logo" src="{{ 'fleezy_logo_transparent.png' | asset_img_url : 'x200' }}"
srcset="{{ 'fleezy_logo_transparent.png' | asset_img_url : 'x200' }} 1x, {{ 'fleezy_logo_transparent.png' | asset_img_url : 'x200' }} 2x"
alt="{{ 'fleezy' | default: shop.name }}"
itemprop="logo">
<img class="logo mobile-logo" src="{{ section.settings.default_logo | img_url: 'x80' }}"
srcset="{{ 'fleezy_logo_transparent.png' | asset_img_url: 'x80' }} 1x, {{ 'fleezy_logo_transparent.png' | asset_img_url: 'x80', scale: 2 }} 2x"
alt="{{ 'fleezy'| default: shop.name }}"
itemprop="logo">
{% else %}
<span class="default-logo">{{ shop.name }}</span>
<span class="mobile-logo">{{ shop.name }}</span>
{% endif %}
I hope this helps
Had the same issue using WeTheme's Flow theme, but found a hacky workaround.
First, I removed the logo image from the template customizer. That causes the template to default to your site name in text where the logo would go. Then I used Chrome inspector to find class name for element where that text appears. for me it was called site-header__logo. Then in global settings, I uploaded a .svg version of my logo to the "Files" section and copied the image URL. Next went in to CSS, (for Flow theme it was called timber.scss.liquid) and there I added code to set the opacity to 0 for the element using the class I just grabbed from the inspector, which was .site-header__logo-link. This made the site name transparent and no longer visible on the page. Finally, I went back in the Chrome inspector and found the parent element for the previous element. It was .site-header__logo (good ol' BEM) and then back in CSS, added in my .svg file as a background image... Here's what my CSS looked like:
.site-header__logo {
width: 130px;
height: 53px;
background-image: url("url for svg file goes here");
background-size: cover;
}
.site-header__logo-link{
opacity: 0;
}
hi - i did this and it worked, but it won't say - how do i save it in CSS?
I am having the same problem. Can anyone direct me to where Shopify has addressed this, if they have even acknowledged it?
same issue, been having it for years, I can't believe this hasn't been fixed within Shopify. I'm using simple theme at the moment.
Yes, this answer from XCEPTION worked for me. Simply added 'x200' to my {{ section.settings.nav-logo | img_url : 'x200' }}. Thank you!
User | RANK |
---|---|
32 | |
28 | |
26 | |
17 | |
15 |
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...
By Jacqui Mar 30, 2023Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023