Yes, of course. Thanks for looking in to it.
{%- capture arrow_right -%}
{%-
render 'icons',
id: 'chevron-right'
-%}
{%- endcapture -%}
{% assign mega_nav_handle = section.settings.mega-nav-handle %}
{%- capture header_classes -%}
header
header-layout-{{ section.settings.header_layout }}
{% if section.settings.header_full_width %}
header-full-width
{% else %}
header-content-width
{% endif %}
{% if section.settings.sticky_header and section.settings.sticky_header_logo and section.settings.logo %}
header-sticky-show-logo
{% endif %}
{% if section.settings.header_border and template != 'index' %}
header-border
{% endif %}
{%- endcapture -%}
{% schema %}
{
"name": "Header",
"settings": [
{
"type": "header",
"content": "Logo"
},
{
"type": "image_picker",
"id": "logo",
"label": "Logo image",
"info": "200px tall recommended"
},
{
"type": "header",
"content": "Header"
},
{
"type": "select",
"id": "header_layout",
"label": "Logo layout",
"info": "Logo layouts are only active on screens wider than 1080px",
"options": [
{
"value": "default",
"label": "Default"
},
{
"value": "compact-center",
"label": "Compact center"
},
{
"value": "compact-left",
"label": "Compact left"
}
],
"default": "default"
},
{
"type": "checkbox",
"id": "header_full_width",
"label": "Enable full width header ",
"default": false
},
{
"type": "checkbox",
"id": "header_border",
"label": "Show header border",
"info": "This will appear on all pages except the home page."
},
{
"type": "checkbox",
"id": "sticky_header",
"label": "Enable sticky header"
},
{
"type": "checkbox",
"id": "sticky_header_logo",
"label": "Show logo image in sticky header"
},
{
"type": "header",
"content": "Navigation"
},
{
"type": "link_list",
"id": "menu",
"label": "Menu",
"default": "main-menu"
},
{
"type": "header",
"content": "Mini Cart"
},
{
"type": "checkbox",
"id": "enable_checkout_lock_icon",
"label": "Show lock icon on checkout button in mini cart",
"default": false
}
],
"blocks": [
{
"type": "mega_menu",
"name": "Mega menu",
"settings": [
{
"type": "text",
"id": "menu_item",
"label": "Menu item",
"info": "Enter menu item to apply a mega menu dropdown. [Learn more](https://support.pixelunion.net/hc/en-us/articles/360022052534-How-to-set-up-your-store-s-navigation)"
},
{
"type": "image_picker",
"id": "menu_image",
"label": "Featured image",
"info": "480 x 1000px recommended"
}
]
}
]
}
{% endschema %}