{{ shop.name | link_to: routes.root_url }}

{% for link in section.settings.menu.links %} {{ link.title | link_to: link.url }} {% endfor %}
{% if shop.customer_accounts_enabled %} {{ 'icon-account.svg' | inline_asset_content }} {% endif %} {% if cart.item_count > 0 %} {{ cart.item_count }} {% endif %} {{ 'icon-cart.svg' | inline_asset_content }}
{% stylesheet %} header { height: 5rem; display: flex; align-items: center; justify-content: space-between; } header a { position: relative; text-decoration: none; color: var(--color-foreground); display: flex; align-items: center; justify-content: center; } header a sup { position: absolute; left: 100%; overflow: hidden; max-width: var(--page-margin); } header svg { width: 2rem; } header .header__menu, header .header__icons { display: flex; gap: 1rem; } {% endstylesheet %} {% schema %} { "name": "t:general.header", "settings": [ { "type": "link_list", "id": "menu", "label": "t:labels.menu" }, { "type": "link_list", "id": "customer_account_menu", "label": "t:labels.customer_account_menu", "default": "customer-account-main-menu" } ] } {% endschema %}