dynamic header

main
alexanderroese 2024-06-21 15:45:27 +02:00
parent 4d1cccf99d
commit 2ffde698c3
2 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,6 @@
"show_cart_note": true, "show_cart_note": true,
"cart_drawer_collection": "", "cart_drawer_collection": "",
"cart_color_scheme": "scheme-2", "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_image": "shopify://shop_images/Frame_68.svg",
"checkout_logo_position": "left", "checkout_logo_position": "left",
"checkout_accent_color": "#af9363", "checkout_accent_color": "#af9363",

View File

@ -177,6 +177,7 @@
{% capture sizes %}(max-width: {{ settings.logo_width | times: 2 }}px) 50vw, {{ settings.logo_width }}px{% endcapture %} {% 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 %} {% capture widths %}{{ settings.logo_width }}, {{ settings.logo_width | times: 1.5 | round }}, {{ settings.logo_width | times: 2 }}{% endcapture %}
{% comment %}
{% liquid {% liquid
capture shx_current_page capture shx_current_page
render "shx-get-current-page" render "shx-get-current-page"
@ -195,6 +196,7 @@
<h1>{{ shx_header_logo }}</h1> <h1>{{ shx_header_logo }}</h1>
<h1>{{ settings.logo }}</h1> <h1>{{ settings.logo }}</h1>
<h1>{{ settings.shx_logo_texte }}</h1> <h1>{{ settings.shx_logo_texte }}</h1>
{% endcomment %}
{{ shx_header_logo | image_url: width: 600 | image_tag: {{ shx_header_logo | image_url: width: 600 | image_tag:
class: 'header__heading-logo motion-reduce', class: 'header__heading-logo motion-reduce',