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 ?
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 ?
yes, please flow this step.
@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 ?