Why is my logo blurry on desktop but not on mobile or MacBook Air?

Topic summary

A user reports their logo appears blurry on Windows 10 desktop browsers (Chrome, Firefox, Edge on a 27" monitor) but displays sharply on mobile devices and a 2021 MacBook Air. They’ve confirmed the original file is properly sized and exported.

Technical details provided:

  • Shared code snippet from header.liquid file
  • Code includes logo rendering logic with height settings for both desktop and mobile
  • Settings reference logo_height and fixed_logo_height parameters

Current status:

  • Multiple community members requested the website URL to investigate further
  • One user mentioned experiencing the same issue with the Beyond Theme
  • Discussion remains unresolved with no solution identified yet

The problem appears platform/OS-specific rather than device-size related, suggesting potential rendering differences between Windows and macOS systems or browser-specific scaling issues.

Summarized with AI on November 25. AI used: claude-sonnet-4-5-20250929.

My logo is blurry on Desktop (Chrome/FireFox/Edge; Windows 10; 27" monitor) but not on mobile or on 2021 MacBook Air (Safari and Chrome both).

Original file is proper size, rendered and exported properly. Something in the code? Or perhaps with my PC?

Code from header.liquid:

{%- liquid
  assign search_t = 'layout.header.search' | t

  assign account_icon = section.settings.account-icon
  assign search_icon = section.settings.search-icon
  assign cart_icon = section.settings.cart-icon
  assign logo_image = section.settings.logo
  assign logo_height = section.settings.logo-height
  assign fix_enabled = section.settings.fix-enabled
  assign fixed_logo_height = section.settings.fixed-logo-height
  assign logo_position = section.settings.logo-position
  assign menu = section.settings.menu
  assign show_account = section.settings.header-account-show
  assign locale_enabled = false
  assign region_enabled = false

  if section.settings.show-region-selector and localization.available_countries.size > 1
    assign region_enabled = true
  endif
  if section.settings.show-locale-selector and localization.available_languages.size > 1
    assign locale_enabled = true
  endif

  capture logo_html
    render 'logo', logo: logo_image, height: logo_height, mobile_height: fixed_logo_height
  endcapture

  capture search_html
    if search_icon == 'icon'
      render 'icons', icon: 'search'
    elsif search_icon == 'text'
      echo search_t
    endif
  endcapture

  capture cart_html
    render 'header-cart', cart_icon: cart_icon
  endcapture
-%}

{% capture menu_icon_html %}
  
    

      {% render 'icons', icon: 'menu' %}
    

  

{% endcapture %}

{% capture x_menu_html %}
  {%
    render 'x-menu',
    overlap_parent: 2,
    handle: menu,
    use_external_icon: true
  %}
{% endcapture %}

{% if logo_image %}
  {% capture fixed_logo_dimensions = fixed_logo_height %}
    max-height: {{ fixed_logo_height }}px;
    max-width: {{ fixed_logo_height | times: logo_image.aspect_ratio }}px;
  {% endcapture %}

  
{% endif %}

{% if fix_enabled %}
  

{% endif %}

{% schema %}
{
  "name": "Header",
  "class": "section--header",
  "settings": [
    {
      "type": "header",
      "content": "Logo"
    },
    {
      "type": "image_picker",
      "id": "logo",
      "label": "Image",
      "info": "1600 x 200px max"
    },
    {
      "label": "Position",
      "id": "logo-position",
      "type": "select",
      "options": [
        { "label": "Above menu", "value": "above" },
        { "label": "Left", "value": "left" },
        { "label": "Center", "value": "center" }
      ],
      "default":   "left",
      "info": "Position may change on smaller screens or when menu is overlapping"
    },
    {
      "label": "Image height",
      "id": "logo-height",
      "type": "range",
      "min": 15,
      "max": 100,
      "step": 5,
      "default": 50,
      "info": "This is referring to the natural height and should be half the height of the image you uploaded to ensure it stays sharp on retina screens."
    },
    {
      "type": "header",
      "content": "Sticky and mobile header"
    },
    {
      "label": "Stick to top of screen when scrolling",
      "id": "fix-enabled",
      "type": "checkbox",
      "default": true,
      "info": "Disabled in theme editor when inspector enabled."
    },
    {
      "label": "Image height",
      "id": "fixed-logo-height",
      "type": "range",
      "min": 10,
      "max": 50,
      "step": 5,
      "default": 20
    },
    {
      "type": "header",
      "content": "Menu"
    },
    {
      "type": "link_list",
      "id": "menu",
      "label": "Menu",
      "default": "main-menu"
    },
    {
      "type": "header",
      "content": "Links"
    },
    {
      "type": "checkbox",
      "id": "header-account-show",
      "label": "Enable customer account links",
      "default": true,
      "info": "[You will also need to enable customer accounts in your store settings](https:\/\/docs.shopify.com\/manual\/your-store\/customers\/customer-accounts)"
    },
    {
      "type": "select",
      "id": "account-icon",
      "label": "Account button",
      "options": [
        { "label": "Icon", "value": "icon" },
        { "label": "Text", "value": "text" }
      ],
      "default": "text"
    },
    {
      "type": "select",
      "id": "search-icon",
      "label": "Search button",
      "options": [
        { "label": "Icon", "value": "icon" },
        { "label": "Text", "value": "text" }
      ],
      "default": "text"
    },
    {
      "type": "select",
      "id": "cart-icon",
      "label": "Cart button",
      "options": [
        { "label": "Text", "value": "text" },
        { "label": "Bag", "value": "bag" },
        { "label": "Cart", "value": "cart" }
      ],
      "default": "text"
    },
    {
      "type": "header",
      "content": "Country/region Selector",
      "info": "To add a country/region, go to your [payment settings](/admin/settings/payments)."
    },
    {
      "type": "checkbox",
      "id": "show-region-selector",
      "label": "Show country/region selector",
      "default": true
    },
    {
      "type": "header",
      "content": "Language Selector",
      "info": "To add a language, go to your [language settings](/admin/settings/languages)."
    },
    {
      "type": "checkbox",
      "id": "show-locale-selector",
      "label": "Show language selector",
      "default": true
    }
  ]
}
{% endschema %}
1 Like

@BayAreaStandUp - can you please share your website ink? I will check o chrome

@BayAreaStandUp

can you please provide store url so i will check and let you know

I was wondering if you had this resolved? If so, what did you do? I’m having the same issue with the logo being blurry in the header with the Beyond Theme.

@Gnarketing - can you please share your website link?