Adding body font to Impulse theme

studiommooy
Shopify Partner
9 0 1

Hello,

I am struggling to add a custom body font to the Impulse theme. I correctly added a header font, following their documention. However, I can't seem to be able to add a secondary font..

Code used:

@font-face {
font-family: "Basier Circle Regular";
src: url('{{ "basiercircle-semibold-regular.woff2" | file_url }}') format("woff2"),
url('{{ "basiercircle-semibold-regular.woff" | file_url }}') format("woff");
}

--typeBasePrimary:{{'Basier Circle Regular'}};
--typeBaseFallback:{{ settings.type_base_font_family.fallback_families }};
--typeBaseSize: {{ settings.type_base_size | default: 16 | append: 'px' }};
--typeBaseWeight: {{ settings.type_base_font_family.weight }};
--typeBaseSpacing: {{ settings.type_base_spacing | default: '50' | divided_by: 1000.00 | append: 'em' }};
--typeBaseLineHeight: {{ settings.type_base_line_height | default: 1.4 }};
--typeBaselineHeightMinus01: {{ settings.type_base_line_height | default: 1.4 | minus: 0.1 }};


Any help would be greatly appreciated! 

Replies 0 (0)