Hey there,
We are having some issues with our typeBasePrimary font not populating. We wanted to set our typeBasePrimary font as ‘Nuform Sans’ but it won’t pull for some reason. We have no issue with typeHeaderPrimary however.
Site link: https://eatcozumi.com/
Code:
@font-face {
font-family: "Nuform Sans";
src: url('{{ "NuformSans-Medium.woff2" | https://cdn.shopify.com/s/files/1/0624/9077/1626/files/NuformSans-Medium.woff2?v=1711727437}}') format("woff2"),
url('{{ "NuformSans-Medium.woff2" | https://cdn.shopify.com/s/files/1/0624/9077/1626/files/NuformSans-Medium.woff?v=1711727437}}') format("woff");
}
@font-face {
font-family: "GTAlpina";
src: url('{{ "GTAlpina.woff2" | https://cdn.shopify.com/s/files/1/0624/9077/1626/files/GTAlpina.woff2?v=1711727437}}') format("woff2"),
url('{{ "GTAlpina.woff2" | https://cdn.shopify.com/s/files/1/0624/9077/1626/files/GTAlpina.woff?v=1711727438}}') format("woff");
}
:root {
--typeHeaderPrimary: 'GTAlpina';
--typeHeaderFallback: 'GTAlpina';
--typeHeaderSize: {{ settings.type_header_base_size | default: 32 | append: 'px' }};
--typeHeaderStyle: {{ settings.type_header_font_family.style }};
--typeHeaderWeight: normal;
--typeHeaderLineHeight: {{ settings.type_header_line_height | default: 1.4 }};
--typeHeaderSpacing: {{ settings.type_header_spacing | default: '25' | divided_by: 1000.00 | append: 'em' }};
--typeBasePrimary:'Nuform Sans';
--typeBaseFallback:'Nuform Sans';
--typeBaseSize: {{ settings.type_base_size | default: 16 | append: 'px' }};
--typeBaseWeight: 500;
--typeBaseStyle: {{ settings.type_base_font_family.style }};
--typeBaseSpacing: {{ settings.type_base_spacing | default: '50' | divided_by: 1000.00 | append: 'em' }};
--typeBaseLineHeight: {{ settings.type_base_line_height | default: 1.6 }};
{% if settings.button_style == 'round-slight' %}
--buttonRadius: 3px;
{% elsif settings.button_style == 'round' %}
--buttonRadius: 35px;
{% else %}
--buttonRadius: 0;
{% endif %}
--iconWeight: {{ settings.icon_weight | default: '5px' }};
--iconLinecaps: {{ settings.icon_linecaps | default: 'miter' }};
}