dynamic header
parent
72d95192d4
commit
904317c883
|
@ -128,8 +128,8 @@
|
||||||
"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": "files/ShinnexFiguren.webp",
|
"shx_logo_figuren": "shopify://shop_images/ShinnexFiguren.webp",
|
||||||
"shx_logo_texte": "files/ShinnexTexte.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",
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
endcapture
|
endcapture
|
||||||
%}
|
%}
|
||||||
|
|
||||||
console.log("2", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,6 @@
|
||||||
{% 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"
|
||||||
|
@ -191,9 +190,8 @@
|
||||||
assign shx_header_logo = settings.shx_logo_figuren | image_url
|
assign shx_header_logo = settings.shx_logo_figuren | image_url
|
||||||
endif
|
endif
|
||||||
%}
|
%}
|
||||||
{% endcomment %}
|
|
||||||
|
|
||||||
{{ settings.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',
|
||||||
widths: widths,
|
widths: widths,
|
||||||
height: logo_height,
|
height: logo_height,
|
||||||
|
|
Loading…
Reference in New Issue