From 2ffde698c3ed380080651bc118189312ae9f1c64 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Fri, 21 Jun 2024 15:45:27 +0200 Subject: [PATCH] dynamic header --- config/settings_data.json | 2 -- sections/header.liquid | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings_data.json b/config/settings_data.json index ad2b602..7a2437b 100644 --- a/config/settings_data.json +++ b/config/settings_data.json @@ -128,8 +128,6 @@ "show_cart_note": true, "cart_drawer_collection": "", "cart_color_scheme": "scheme-2", - "shx_logo_figuren": "shopify://shop_images/ShinnexFiguren.webp", - "shx_logo_texte": "shopify://shop_images/ShinnexTexte.webp", "checkout_logo_image": "shopify://shop_images/Frame_68.svg", "checkout_logo_position": "left", "checkout_accent_color": "#af9363", diff --git a/sections/header.liquid b/sections/header.liquid index 190a418..b5993a2 100644 --- a/sections/header.liquid +++ b/sections/header.liquid @@ -177,6 +177,7 @@ {% capture sizes %}(max-width: {{ settings.logo_width | times: 2 }}px) 50vw, {{ settings.logo_width }}px{% endcapture %} {% capture widths %}{{ settings.logo_width }}, {{ settings.logo_width | times: 1.5 | round }}, {{ settings.logo_width | times: 2 }}{% endcapture %} + {% comment %} {% liquid capture shx_current_page render "shx-get-current-page" @@ -195,6 +196,7 @@

{{ shx_header_logo }}

{{ settings.logo }}

{{ settings.shx_logo_texte }}

+ {% endcomment %} {{ shx_header_logo | image_url: width: 600 | image_tag: class: 'header__heading-logo motion-reduce',