Adding an icon on header mobile and desktop

Greetings,

I would like to add a new icon redirecting to a page on my header just between my account and cart icons:

Geminis_1-1706815954586.png

And also on mobile and tablet view:

Geminis_2-1706816014704.png

I would really appreciate your help.

We would just need to see your code as there is no way to do this through your admin section. We would essentially just need to throw in an image or svg within the wrapper that holds those icons and then wrap the image in tags to give it a link to go wherever you need it to go to.

Ok , do I send you here the header liquid code right ?

this is my code:

{% # theme-check-disable LiquidTag, TemplateLength %}

{%- liquid
assign has_mega_nav_pills = false
assign has_mega_nav_columns = false
assign has_mega_nav_sidebar = false

if section.blocks.size > 0
for block in section.blocks
if block.type == “pills”
assign has_mega_nav_pills = true
elsif block.type == “columns”
assign has_mega_nav_columns = true
elsif block.type == “sidebar”
assign has_mega_nav_sidebar = true
endif
endfor
endif

assign search_is_minimised = false
if section.settings.minimise_search_mobile or section.settings.minimise_search_desktop
assign search_is_minimised = true
endif

assign show_search_types = false
if settings.show_search_types and shop.types
assign show_search_types = true
endif
-%}

{%- style -%}
.header {
–bg-color: {{ section.settings.bg_color.rgba }};
–text-color: {{ section.settings.text_color.rgb }};
–nav-bg-color: {{ section.settings.bg_color.rgb }};
–nav-text-color: {{ section.settings.text_color.rgb }};
–nav-child-bg-color: {{ section.settings.bg_color.rgb }};
–nav-child-text-color: {{ section.settings.text_color.rgb }};
–header-accent-color: {{ section.settings.accent_color.rgb }};
–search-bg-color: {{ section.settings.bg_color | color_mix: section.settings.text_color, 90 }};
{% unless section.settings.logo %}
–logo_type_scale: var(–body-font-size) * {{ section.settings.logo_type_scale }};
–logo_font-size: calc((var(–logo_type_scale) / 1.5) * var(–fluid-1-5));
{% endunless %}
{% if settings.cart_shaking and cart != empty %}
–shake-delay: 4s;
{% endif %}
}
{%- endstyle -%}

<store-header class=“header bg-theme-bg text-theme-text{% if section.settings.enable_sticky or search_is_minimised %} has-motion{% endif %}{% if search_is_minimised %} search-is-collapsed{% endif %}”
{%- if section.settings.enable_sticky -%} data-is-sticky=“true”{%- endif -%}
{%- if search_is_minimised -%} data-is-search-minimised=“true”{%- endif -%}
style=“–header-transition-speed: 300ms”>

{%- if request.page_type == 'index' and section.settings.logo_h1 -%}

{%- endif -%} {%- if section.settings.logo != blank -%} {%- liquid assign logo_width = section.settings.logo_width if section.settings.logo.width < logo_width assign logo_width = section.settings.logo.width endif assign alt_text = section.settings.logo.alt | default: shop.name -%} {% render 'image', image: section.settings.logo, src_width: logo_width, srcset_2x: true, lazy_load: false, alt_text: alt_text %} {%- else -%} {%- if section.settings.logo_text != blank -%}{{- section.settings.logo_text -}}{%- else -%}{{ shop.name }}{%- endif -%} {%- endif -%} {%- if request.page_type == 'index' and section.settings.logo_h1 -%}

{%- endif -%}

{%- if section.settings.enable_search -%}
{%- if settings.enable_predictive_search -%}

{%- endif -%}
{%- if section.settings.logo_center and section.settings.minimise_search_desktop -%} {% render 'icon-search' %} {% render 'icon-close' %} {{ 'general.icon_labels.search' | t }} {%- endif -%}

{% render ‘predictive-search’, id: ‘header-search’, show_search_types: show_search_types %}

{%- elsif section.settings.logo_center -%}
{%- endif -%}
{%- if section.settings.enable_search and search_is_minimised -%} {%- unless section.settings.logo_center and section.settings.minimise_search_mobile == false and section.settings.minimise_search_desktop -%} {%- liquid if section.settings.logo_center and section.settings.minimise_search_mobile assign search_button_class = "md:hidden" elsif section.settings.minimise_search_mobile and section.settings.minimise_search_desktop == false assign search_button_class = "md:hidden" elsif section.settings.minimise_search_mobile == false and section.settings.minimise_search_desktop assign search_button_class = "hidden md:block" endif -%} {% render 'icon-search' %} {{ 'general.icon_labels.search' | t }} {%- endunless -%} {%- endif -%} {%- if shop.customer_accounts_enabled -%} {%- if customer -%} {% render 'icon-customer' %} {{ 'sections.header.account' | t }} {%- else -%} {% render 'icon-customer' %} {{ 'sections.header.log_in' | t }} {%- endif -%} {%- endif -%}

<a class=“header__icon{% if settings.cart_shaking and cart != empty %} header__icon–cart-shake has-motion{% endif %} relative text-current” id=“cart-icon” href=“{{ routes.cart_url }}”{% if settings.cart_shaking and cart != empty %} data-shake-frequency=“{{ settings.cart_shaking_frequency }}”{% endif %}{% if settings.preload_links %} data-no-instant{% endif %}>
{%- if settings.cart_icon == ‘bag’ -%}
{%- render ‘icon-bag’ -%}
{{ ‘sections.header.bag’ | t }}
{%- elsif settings.cart_icon == ‘basket’ -%}
{%- render ‘icon-basket’ -%}
{{ ‘sections.header.basket’ | t }}
{%- else -%}
{%- render ‘icon-cart’ -%}
{{ ‘sections.header.cart’ | t }}
{%- endif -%}

{%- if cart != empty -%}
{%- if cart.item_count < 10000 -%} {{ cart.item_count }} {%- endif -%} {{ 'sections.header.cart_count' | t: count: cart.item_count }}
{%- endif -%}

{%- if section.settings.menu != blank -%}
{%- assign total_promo_count = 0 -%}
{%- assign featured_links = section.settings.menu_featured_link | downcase | replace: ', ‘, ‘,’ | replace: ’ ,’, ‘,’ | split: ‘,’ -%}
<main-menu class=“main-menu{% if section.settings.mobile_menu_position == “burger-left” %} main-menu–left-mob{% endif %}” data-menu-sensitivity=“200”>

{{ 'general.icon_labels.menu' | t }}

{%- if mega_nav and promo_count > 0 -%}

{%- liquid if mega_nav.settings.promo_min_height > 250 assign promo_padding = "p-8" elsif mega_nav.settings.promo_min_height > 150 assign promo_padding = "p-6" else assign promo_padding = "p-4" endif -%}

{%- if mega_nav.settings.promo1_content != blank or mega_nav.settings.promo1_image != blank -%}
{%- liquid
assign is_link = false
if mega_nav.settings.promo1_link_url != blank
unless mega_nav.settings.promo1_content contains “<a”
assign is_link = true
endunless
endif
-%}
{%- if is_link -%}

{%- else -%}

{%- endif -%} {%- endif -%}

{%- if mega_nav.settings.promo2_content != blank or mega_nav.settings.promo2_image != blank -%}
{%- liquid
assign is_link = false
if mega_nav.settings.promo2_link_url != blank
unless mega_nav.settings.promo2_content contains “<a”
assign is_link = true
endunless
endif
-%}
{%- if is_link -%}

{%- else -%}

{%- endif -%} {%- endif -%}

{%- if mega_nav.settings.promo3_content != blank or mega_nav.settings.promo3_image != blank -%}
{%- liquid
assign is_link = false
if mega_nav.settings.promo3_link_url != blank
unless mega_nav.settings.promo3_content contains “<a”
assign is_link = true
endunless
endif
-%}
{%- if is_link -%}

{%- else -%}

{%- endif -%} {%- endif -%}
{%- endif -%}

{%- if mega_nav -%}

{%- endif -%}

{%- endif -%} {%- endfor -%}

{%- if section.settings.quicklinks_menu != blank or section.settings.cta_show -%}

{%- endif -%} {%- endif -%}

{%- if has_mega_nav_pills -%}

{%- endif -%}

{%- if has_mega_nav_columns -%}

{%- endif -%}

{%- if has_mega_nav_sidebar -%}

{%- endif -%}

{%- if total_promo_count > 0 -%}

{%- endif -%}

{% javascript %}
customElements.whenDefined(‘details-disclosure’).then(() => {
class NavMenu extends DetailsDisclosure {
constructor() {
super();

if(this.matches(‘.js-mega-nav’)) {
this.reset(false);
window.addEventListener(‘on:breakpoint-change’, this.reset.bind(this));
}
}

reset(resize = true) {
const isLargeScreen = window.matchMedia(theme.mediaQueries.md).matches;
this.disclosure.open = isLargeScreen;
if (isLargeScreen) {
this.toggle.setAttribute(‘tabindex’, ‘-1’);
} else {
this.toggle.removeAttribute(‘tabindex’);
}
}

handleToggle(e) {
if (!(this.matches(‘.js-mega-nav’) && window.matchMedia(theme.mediaQueries.md).matches)) {
super.handleToggle(e);
}
}
}

customElements.define(‘nav-menu’, NavMenu);
});
{% endjavascript %}

{% render ‘structured-data-header’ %}

{% schema %}
{
“name”: “Header”,
“class”: “cc-header”,
“settings”: [
{
“type”: “header”,
“content”: “Layout”
},
{
“type”: “checkbox”,
“id”: “enable_sticky”,
“label”: “Enable sticky header”,
“default”: false
},
{
“type”: “select”,
“id”: “mobile_menu_position”,
“label”: “Mobile menu icon position”,
“options”: [
{
“value”: “burger-left”,
“label”: “Left”
},
{
“value”: “burger-right”,
“label”: “Right”
}
],
“default”: “burger-right”
},
{
“type”: “header”,
“content”: “Logo”
},
{
“type”: “text”,
“id”: “logo_text”,
“label”: “Logo text”,
“info”: “Only shows if a logo image is not specified.”,
“placeholder”: “Use store name”
},
{
“type”: “select”,
“id”: “logo_type_scale”,
“label”: “Logo text scale”,
“info”: “Logo text size is calculated from the body font size.”,
“options”: [
{
“value”: “1.5”,
“label”: “Small”
},
{
“value”: “2”,
“label”: “Medium”
},
{
“value”: “2.5”,
“label”: “Large”
},
{
“value”: “3”,
“label”: “Extra large”
}
],
“default”: “2”
},
{
“type”: “image_picker”,
“id”: “logo”,
“label”: “Logo image”
},
{
“type”: “range”,
“id”: “logo_width”,
“min”: 50,
“max”: 300,
“step”: 10,
“unit”: “px”,
“label”: “Maximum logo width”,
“default”: 150
},
{
“type”: “checkbox”,
“id”: “logo_h1”,
“label”: “Make the logo an

on the homepage”,
“info”: “If a section on the homepage contains a primary page heading, this should be unticked. Learn more”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “logo_center”,
“label”: “Center logo on large screens”,
“default”: false
},
{
“type”: “header”,
“content”: “Search”
},
{
“type”: “checkbox”,
“id”: “enable_search”,
“label”: “Enable search”,
“info”: “See "Theme Settings > Search" for more search settings.”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “minimise_search_mobile”,
“label”: “Minimise search on mobile”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “minimise_search_desktop”,
“label”: “Minimise search on desktop”,
“default”: false
},
{
“type”: “header”,
“content”: “Navigation”
},
{
“type”: “link_list”,
“id”: “menu”,
“label”: “Main menu”,
“default”: “main-menu”
},
{
“type”: “checkbox”,
“id”: “menu_center”,
“label”: “Center menu links on large screens”,
“info”: “Ony applies when a "Quicklinks menu/call to action" is not specified.”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “repeat_links”,
“label”: “Add ‘Go to’ links to submenus Read more”,
“default”: true
},
{
“type”: “text”,
“id”: “menu_featured_link”,
“label”: “Featured link”,
“info”: “Enter links to highlight in the Accent color. Separate multiple links with commas. e.g. ‘Shop,Sale’.”,
“default”: “Sale”
},
{
“type”: “header”,
“content”: “Quicklinks - Menu”
},
{
“type”: “link_list”,
“id”: “quicklinks_menu”,
“label”: “Menu”,
“info”: “Shows a maximum of four menu items separately to the main menu. This menu does not support dropdowns.”
},
{
“type”: “header”,
“content”: “Quicklinks - Call to action”
},
{
“type”: “checkbox”,
“id”: “cta_show”,
“label”: “Show call to action”,
“default”: false
},
{
“type”: “select”,
“id”: “cta_icon”,
“label”: “Icon”,
“options”: [
{
“value”: “none”,
“label”: “None”
},
{
“value”: “award”,
“label”: “Award”
},
{
“value”: “box”,
“label”: “Box”
},
{
“value”: “briefcase”,
“label”: “Briefcase”
},
{
“value”: “calendar”,
“label”: “Calendar”
},
{
“value”: “chat_bubble”,
“label”: “Chat bubble”
},
{
“value”: “check_mark”,
“label”: “Check mark”
},
{
“value”: “clock”,
“label”: “Clock”
},
{
“value”: “credit_card”,
“label”: “Credit card”
},
{
“value”: “dollar_sign”,
“label”: “Dollar sign”
},
{
“value”: “dryer”,
“label”: “Dryer”
},
{
“value”: “email”,
“label”: “Email”
},
{
“value”: “eye”,
“label”: “Eye”
},
{
“value”: “feather”,
“label”: “Feather”
},
{
“value”: “gift”,
“label”: “Gift”
},
{
“value”: “heart”,
“label”: “Heart”
},
{
“value”: “iron”,
“label”: “Iron”
},
{
“value”: “leaf”,
“label”: “Leaf”
},
{
“value”: “leather”,
“label”: “Leather”
},
{
“value”: “lock”,
“label”: “Lock”
},
{
“value”: “map_pin”,
“label”: “Map pin”
},
{
“value”: “pants”,
“label”: “Pants”
},
{
“value”: “percent”,
“label”: “Percent”
},
{
“value”: “phone”,
“label”: “Phone”
},
{
“value”: “plane”,
“label”: “Plane”
},
{
“value”: “price_tag”,
“label”: “Price tag”
},
{
“value”: “question_mark”,
“label”: “Question mark”
},
{
“value”: “return”,
“label”: “Return”
},
{
“value”: “ruler”,
“label”: “Ruler”
},
{
“value”: “scissors”,
“label”: “Scissors”
},
{
“value”: “shirt”,
“label”: “Shirt”
},
{
“value”: “shoe”,
“label”: “Shoe”
},
{
“value”: “silhouette”,
“label”: “Silhouette”
},
{
“value”: “star”,
“label”: “Star”
},
{
“value”: “truck”,
“label”: “Truck”
},
{
“value”: “washing”,
“label”: “Washing”
}
],
“default”: “phone”
},
{
“type”: “text”,
“id”: “cta_label”,
“label”: “Label”,
“default”: “Call us”
},
{
“type”: “url”,
“id”: “cta_link”,
“label”: “Link”,
“info”: “Phone number links can be written the format "tel:+441483123456". Email address links can be written the format [email removed]
},
{
“type”: “color”,
“id”: “cta_border_color”,
“label”: “Border color”,
“default”: “#333333”
},
{
“type”: “color”,
“id”: “cta_bg_color”,
“label”: “Background color”,
“default”: “#333333”
},
{
“type”: “color”,
“id”: “cta_text_color”,
“label”: “Text color”,
“default”: “#ffffff”
},
{
“type”: “header”,
“content”: “Style”
},
{
“type”: “color”,
“id”: “bg_color”,
“label”: “Header background color”,
“default”: “#ffffff”
},
{
“type”: “color”,
“id”: “text_color”,
“label”: “Header text color”,
“default”: “#070707”
},
{
“type”: “color”,
“id”: “accent_color”,
“label”: “Header accent color”,
“default”: “#777777”
}
],
“blocks”: [
{
“type”: “columns”,
“name”: “Column Mega Menu”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Link name”,
“info”: “The name of any top-level link that you wish to turn into a mega menu. Separate multiple links with commas. e.g. ‘Shop,Collection’.”
},
{
“type”: “header”,
“content”: “Headings”
},
{
“type”: “select”,
“id”: “collection_images”,
“label”: “Collection images”,
“options”: [
{
“value”: “none”,
“label”: “None”
},
{
“value”: “standard”,
“label”: “Standard”
},
{
“value”: “large”,
“label”: “Large”
}
],
“default”: “none”
},
{
“type”: “checkbox”,
“id”: “collection_use_product_image”,
“label”: “Use the first product image as the collection image”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_underline”,
“label”: “Show underline”,
“default”: true
},
{
“type”: “header”,
“content”: “Promotions”
},
{
“type”: “select”,
“id”: “promo_position”,
“label”: “Position on large screens”,
“options”: [
{
“value”: “right”,
“label”: “Right”
},
{
“value”: “bottom”,
“label”: “Bottom”
}
],
“default”: “bottom”
},
{
“type”: “range”,
“id”: “promo_min_height”,
“min”: 50,
“max”: 700,
“step”: 10,
“unit”: “px”,
“label”: “Minimum height”,
“default”: 200
},
{
“type”: “color”,
“id”: “promo_text_color”,
“label”: “Text color”,
“default”: “#ffffff”
},
{
“type”: “color”,
“id”: “promo_tint_color”,
“label”: “Tint color”,
“default”: “#000000”
},
{
“type”: “range”,
“id”: “promo_tint_opacity”,
“min”: 0,
“max”: 80,
“step”: 5,
“unit”: “%”,
“label”: “Tint opacity”,
“default”: 20
},
{
“type”: “header”,
“content”: “Promotion 1”
},
{
“type”: “image_picker”,
“id”: “promo1_image”,
“label”: “Image”
},
{
“type”: “richtext”,
“id”: “promo1_content”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “promo1_link_url”,
“label”: “Link URL”
},
{
“type”: “range”,
“id”: “promo1_text_size”,
“min”: 14,
“max”: 32,
“step”: 1,
“unit”: “px”,
“label”: “Text size”,
“default”: 16
},
{
“type”: “range”,
“id”: “promo1_text_width”,
“min”: 30,
“max”: 100,
“step”: 1,
“unit”: “%”,
“label”: “Text width”,
“default”: 100
},
{
“type”: “select”,
“id”: “promo1_text_alignment”,
“label”: “Text alignment”,
“default”: “justify-center items-center text-center”,
“options”: [
{
“value”: “justify-start items-start”,
“label”: “Top left”
},
{
“value”: “justify-center items-start text-center”,
“label”: “Top center”
},
{
“value”: “justify-end items-start text-right”,
“label”: “Top right”
},
{
“value”: “justify-start items-center”,
“label”: “Middle left”
},
{
“value”: “justify-center items-center text-center”,
“label”: “Middle center”
},
{
“value”: “justify-end items-center text-right”,
“label”: “Middle right”
},
{
“value”: “justify-start items-end”,
“label”: “Bottom left”
},
{
“value”: “justify-center items-end text-center”,
“label”: “Bottom center”
},
{
“value”: “justify-end items-end text-right”,
“label”: “Bottom right”
}
]
},
{
“type”: “header”,
“content”: “Promotion 2”
},
{
“type”: “image_picker”,
“id”: “promo2_image”,
“label”: “Image”
},
{
“type”: “richtext”,
“id”: “promo2_content”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “promo2_link_url”,
“label”: “Link URL”
},
{
“type”: “range”,
“id”: “promo2_text_size”,
“min”: 14,
“max”: 32,
“step”: 1,
“unit”: “px”,
“label”: “Text size”,
“default”: 16
},
{
“type”: “range”,
“id”: “promo2_text_width”,
“min”: 30,
“max”: 100,
“step”: 1,
“unit”: “%”,
“label”: “Text width”,
“default”: 100
},
{
“type”: “select”,
“id”: “promo2_text_alignment”,
“label”: “Text alignment”,
“default”: “justify-center items-center text-center”,
“options”: [
{
“value”: “justify-start items-start”,
“label”: “Top left”
},
{
“value”: “justify-center items-start”,
“label”: “Top center”
},
{
“value”: “justify-end items-start”,
“label”: “Top right”
},
{
“value”: “justify-start items-center”,
“label”: “Middle left”
},
{
“value”: “justify-center items-center text-center”,
“label”: “Middle center”
},
{
“value”: “justify-end items-center”,
“label”: “Middle right”
},
{
“value”: “justify-start items-end”,
“label”: “Bottom left”
},
{
“value”: “justify-center items-end”,
“label”: “Bottom center”
},
{
“value”: “justify-end items-end”,
“label”: “Bottom right”
}
]
},
{
“type”: “header”,
“content”: “Promotion 3”
},
{
“type”: “image_picker”,
“id”: “promo3_image”,
“label”: “Image”
},
{
“type”: “richtext”,
“id”: “promo3_content”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “promo3_link_url”,
“label”: “Link URL”
},
{
“type”: “range”,
“id”: “promo3_text_size”,
“min”: 14,
“max”: 32,
“step”: 1,
“unit”: “px”,
“label”: “Text size”,
“default”: 16
},
{
“type”: “range”,
“id”: “promo3_text_width”,
“min”: 30,
“max”: 100,
“step”: 1,
“unit”: “%”,
“label”: “Text width”,
“default”: 100
},
{
“type”: “select”,
“id”: “promo3_text_alignment”,
“label”: “Text alignment”,
“default”: “justify-center items-center text-center”,
“options”: [
{
“value”: “justify-start items-start”,
“label”: “Top left”
},
{
“value”: “justify-center items-start”,
“label”: “Top center”
},
{
“value”: “justify-end items-start”,
“label”: “Top right”
},
{
“value”: “justify-start items-center”,
“label”: “Middle left”
},
{
“value”: “justify-center items-center text-center”,
“label”: “Middle center”
},
{
“value”: “justify-end items-center”,
“label”: “Middle right”
},
{
“value”: “justify-start items-end”,
“label”: “Bottom left”
},
{
“value”: “justify-center items-end”,
“label”: “Bottom center”
},
{
“value”: “justify-end items-end”,
“label”: “Bottom right”
}
]
},
{
“type”: “header”,
“content”: “Badge 1”
},
{
“type”: “paragraph”,
“content”: “Badges are small words highlighted with a color that show next to your third-level links. Shows on large screens only, limited to one badge per link. Read more
},
{
“type”: “color”,
“id”: “badge1_color”,
“label”: “Color”,
“default”: “#000000”
},
{
“type”: “text”,
“id”: “badge1_link”,
“label”: “Link”,
“info”: “Separate links with commas. e.g. ‘Shop,Sale’.”
},
{
“type”: “text”,
“id”: “badge1_text”,
“label”: “Badge text”
},
{
“type”: “header”,
“content”: “Badge 2”
},
{
“type”: “color”,
“id”: “badge2_color”,
“label”: “Color”,
“default”: “#000000”
},
{
“type”: “text”,
“id”: “badge2_link”,
“label”: “Link”,
“info”: “Separate links with commas. e.g. ‘Shop,Sale’.”
},
{
“type”: “text”,
“id”: “badge2_text”,
“label”: “Badge text”
},
{
“type”: “header”,
“content”: “Badge 3”
},
{
“type”: “color”,
“id”: “badge3_color”,
“label”: “Color”,
“default”: “#000000”
},
{
“type”: “text”,
“id”: “badge3_link”,
“label”: “Link”,
“info”: “Separate links with commas. e.g. ‘Shop,Sale’.”
},
{
“type”: “text”,
“id”: “badge3_text”,
“label”: “Badge text”
}
]
},
{
“type”: “pills”,
“name”: “Button Mega Menu”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Link name”,
“info”: “The name of any first-level link that you wish to turn into a mega menu (e.g. Shop)”
},
{
“type”: “header”,
“content”: “Headings”
},
{
“type”: “select”,
“id”: “collection_images”,
“label”: “Collection images”,
“options”: [
{
“value”: “none”,
“label”: “None”
},
{
“value”: “standard”,
“label”: “Standard”
},
{
“value”: “large”,
“label”: “Large”
}
],
“default”: “none”
},
{
“type”: “checkbox”,
“id”: “collection_use_product_image”,
“label”: “Use the first product image as the collection image”,
“default”: false
},
{
“type”: “header”,
“content”: “Promotions”
},
{
“type”: “select”,
“id”: “promo_position”,
“label”: “Position on large screens”,
“options”: [
{
“value”: “right”,
“label”: “Right”
},
{
“value”: “bottom”,
“label”: “Bottom”
}
],
“default”: “bottom”
},
{
“type”: “range”,
“id”: “promo_min_height”,
“min”: 50,
“max”: 700,
“step”: 10,
“unit”: “px”,
“label”: “Minimum height”,
“default”: 200
},
{
“type”: “color”,
“id”: “promo_text_color”,
“label”: “Text color”,
“default”: “#ffffff”
},
{
“type”: “color”,
“id”: “promo_tint_color”,
“label”: “Tint color”,
“default”: “#000000”
},
{
“type”: “range”,
“id”: “promo_tint_opacity”,
“min”: 0,
“max”: 80,
“step”: 5,
“unit”: “%”,
“label”: “Tint opacity”,
“default”: 20
},
{
“type”: “header”,
“content”: “Promotion 1”
},
{
“type”: “image_picker”,
“id”: “promo1_image”,
“label”: “Image”
},
{
“type”: “richtext”,
“id”: “promo1_content”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “promo1_link_url”,
“label”: “Link URL”
},
{
“type”: “range”,
“id”: “promo1_text_size”,
“min”: 14,
“max”: 32,
“step”: 1,
“unit”: “px”,
“label”: “Text size”,
“default”: 16
},
{
“type”: “range”,
“id”: “promo1_text_width”,
“min”: 30,
“max”: 100,
“step”: 1,
“unit”: “%”,
“label”: “Text width”,
“default”: 100
},
{
“type”: “select”,
“id”: “promo1_text_alignment”,
“label”: “Text alignment”,
“default”: “justify-center items-center text-center”,
“options”: [
{
“value”: “justify-start items-start”,
“label”: “Top left”
},
{
“value”: “justify-center items-start”,
“label”: “Top center”
},
{
“value”: “justify-end items-start”,
“label”: “Top right”
},
{
“value”: “justify-start items-center”,
“label”: “Middle left”
},
{
“value”: “justify-center items-center text-center”,
“label”: “Middle center”
},
{
“value”: “justify-end items-center”,
“label”: “Middle right”
},
{
“value”: “justify-start items-end”,
“label”: “Bottom left”
},
{
“value”: “justify-center items-end”,
“label”: “Bottom center”
},
{
“value”: “justify-end items-end”,
“label”: “Bottom right”
}
]
},
{
“type”: “header”,
“content”: “Promotion 2”
},
{
“type”: “image_picker”,
“id”: “promo2_image”,
“label”: “Image”
},
{
“type”: “richtext”,
“id”: “promo2_content”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “promo2_link_url”,
“label”: “Link URL”
},
{
“type”: “range”,
“id”: “promo2_text_size”,
“min”: 14,
“max”: 32,
“step”: 1,
“unit”: “px”,
“label”: “Text size”,
“default”: 16
},
{
“type”: “range”,
“id”: “promo2_text_width”,
“min”: 30,
“max”: 100,
“step”: 1,
“unit”: “%”,
“label”: “Text width”,
“default”: 100
},
{
“type”: “select”,
“id”: “promo2_text_alignment”,
“label”: “Text alignment”,
“default”: “justify-center items-center text-center”,
“options”: [
{
“value”: “justify-start items-start”,
“label”: “Top left”
},
{
“value”: “justify-center items-start”,
“label”: “Top center”
},
{
“value”: “justify-end items-start”,
“label”: “Top right”
},
{
“value”: “justify-start items-center”,
“label”: “Middle left”
},
{
“value”: “justify-center items-center text-center”,
“label”: “Middle center”
},
{
“value”: “justify-end items-center”,
“label”: “Middle right”
},
{
“value”: “justify-start items-end”,
“label”: “Bottom left”
},
{
“value”: “justify-center items-end”,
“label”: “Bottom center”
},
{
“value”: “justify-end items-end”,
“label”: “Bottom right”
}
]
},
{
“type”: “header”,
“content”: “Promotion 3”
},
{
“type”: “image_picker”,
“id”: “promo3_image”,
“label”: “Image”
},
{
“type”: “richtext”,
“id”: “promo3_content”,
“label”: “Text”
},
{
“type”: “url”,
“id”: “promo3_link_url”,
“label”: “Link URL”
},
{
“type”: “range”,
“id”: “promo3_text_size”,
“min”: 14,
“max”: 32,
“step”: 1,
“unit”: “px”,
“label”: “Text size”,
“default”: 16
},
{
“type”: “range”,
“id”: “promo3_text_width”,
“min”: 30,
“max”: 100,
“step”: 1,
“unit”: “%”,
“label”: “Text width”,
“default”: 100
},
{
“type”: “select”,
“id”: “promo3_text_alignment”,
“label”: “Text alignment”,
“default”: “justify-center items-center text-center”,
“options”: [
{
“value”: “justify-start items-start”,
“label”: “Top left”
},
{
“value”: “justify-center items-start”,
“label”: “Top center”
},
{
“value”: “justify-end items-start”,
“label”: “Top right”
},
{
“value”: “justify-start items-center”,
“label”: “Middle left”
},
{
“value”: “justify-center items-center text-center”,
“label”: “Middle center”
},
{
“value”: “justify-end items-center”,
“label”: “Middle right”
},
{
“value”: “justify-start items-end”,
“label”: “Bottom left”
},
{
“value”: “justify-center items-end”,
“label”: “Bottom center”
},
{
“value”: “justify-end items-end”,
“label”: “Bottom right”
}
]
}
]
},
{
“type”: “sidebar”,
“name”: “Sidebar Mega Menu”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Link name”,
“info”: “The name of any top-level link that you wish to turn into a mega menu. Separate multiple links with commas. e.g. ‘Shop,Collection’.”
},
{
“type”: “header”,
“content”: “Left hand side links”
},
{
“type”: “select”,
“id”: “collection_images”,
“label”: “Collection images”,
“options”: [
{
“value”: “none”,
“label”: “None”
},
{
“value”: “standard”,
“label”: “Standard”
},
{
“value”: “large”,
“label”: “Large”
}
],
“default”: “none”
},
{
“type”: “checkbox”,
“id”: “collection_use_product_image”,
“label”: “Use the first product image as the collection image”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_underline”,
“label”: “Show underline”,
“default”: true
},
{
“type”: “header”,
“content”: “Right hand side links”
},
{
“type”: “checkbox”,
“id”: “show_collection_images”,
“label”: “Show collection images”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “sidebar_link_use_product_image”,
“label”: “Use the first product image as the collection image”,
“default”: false
},
{
“type”: “checkbox”,
“id”: “show_product_images”,
“label”: “Show product images”,
“default”: true
},
{
“type”: “select”,
“id”: “aspect_ratio”,
“label”: “Image aspect ratio”,
“options”: [
{
“value”: “natural”,
“label”: “Natural”
},
{
“value”: “1.77”,
“label”: “Landscape”
},
{
“value”: “1”,
“label”: “Square”
},
{
“value”: “0.75”,
“label”: “Portrait”
},
{
“value”: “0.6”,
“label”: “Portrait Tall”
}
],
“default”: “1”
},
{
“type”: “header”,
“content”: “Badge 1”
},
{
“type”: “paragraph”,
“content”: “Badges are small words highlighted with a color that show next to your third-level links. Shows on large screens only, limited to one badge per link. Read more
},
{
“type”: “color”,
“id”: “badge1_color”,
“label”: “Color”,
“default”: “#000000”
},
{
“type”: “text”,
“id”: “badge1_link”,
“label”: “Link”,
“info”: “Separate links with commas. e.g. ‘Shop,Sale’.”
},
{
“type”: “text”,
“id”: “badge1_text”,
“label”: “Badge text”
},
{
“type”: “header”,
“content”: “Badge 2”
},
{
“type”: “color”,
“id”: “badge2_color”,
“label”: “Color”,
“default”: “#000000”
},
{
“type”: “text”,
“id”: “badge2_link”,
“label”: “Link”,
“info”: “Separate links with commas. e.g. ‘Shop,Sale’.”
},
{
“type”: “text”,
“id”: “badge2_text”,
“label”: “Badge text”
},
{
“type”: “header”,
“content”: “Badge 3”
},
{
“type”: “color”,
“id”: “badge3_color”,
“label”: “Color”,
“default”: “#000000”
},
{
“type”: “text”,
“id”: “badge3_link”,
“label”: “Link”,
“info”: “Separate links with commas. e.g. ‘Shop,Sale’.”
},
{
“type”: “text”,
“id”: “badge3_text”,
“label”: “Badge text”
}
]
}
]
}
{% endschema %}