dynamic header
parent
effc4c9c93
commit
037b9ffbc7
|
@ -222,7 +222,7 @@
|
|||
render "shx-get-current-page"
|
||||
endcapture
|
||||
|
||||
assign shx_header_logo = "shopify:\/\/shop_images\/ShinnexTexte.webp"
|
||||
assign shx_header_logo = settings.logo
|
||||
|
||||
if shx_current_page contains "texte"
|
||||
assign shx_header_logo = "shopify:\/\/shop_images\/ShinnexTexte.webp"
|
||||
|
@ -231,6 +231,7 @@
|
|||
endif
|
||||
%}
|
||||
|
||||
{% comment %}
|
||||
{{ shx_header_logo | image_url: width: 600 | image_tag:
|
||||
class: 'header__heading-logo',
|
||||
widths: widths,
|
||||
|
@ -240,6 +241,8 @@
|
|||
sizes: sizes,
|
||||
preload: true
|
||||
}}
|
||||
|
||||
{% endcomment %}
|
||||
</div>
|
||||
{%- else -%}
|
||||
<span class="h2">{{ shop.name }}</span>
|
||||
|
|
Loading…
Reference in New Issue