How can I add a custom font to the Broadcast theme?

Hi,

I have tried several times to add the my custom font to the broadcast theme in the coding but its not working.

Could someone help me please ?

@Asiaka

yes, please flow this step.

  1. Go to Online Store->Theme->Edit code
    2.Asset->/theme.css->upload your custom font all font tyep = TTF, OTF, WOFF, WOFF2, SVG
  2. Asset->/theme.css ->paste below code at the bottom of the file.
@font-face {
font-family: 'Montserrat-Regular';
src: url('{{ 'Montserrat-Regular.eot?' | asset_url }}');
src: url('{{ 'Montserrat-Regular.eot??#iefix' | asset_url }}') format('embedded-opentype'),
url('{{ 'Montserrat-Regular.woff' | asset_url }}') format('woff'),
url('{{ 'Montserrat-Regular.ttf' | asset_url }}') format('truetype'),
url('{{ 'Montserrat-Regular.svg#Montserrat-Regular' | asset_url }}') format('svg');
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: antialiased;
}

can you please just change font name, for example, Montserrat-Regular to your custom font name

.h1, .h2, .h3, .h4, .h5, .recent__title, .h6, h1, h2, h3, h4, h5, h6, .article__author-bio h3, .blog .article__image .article__tags 
{
font-family: you custom font name;
}

Hi @KetanKumar

Unfortunately its not working ?