new font family - Forum | JoomShaper
Staff replied Helix Framework

new font family

Asked by Zbigniew Krełowski 5 years ago Last activity 5 years ago

Ho, how can I add new font family to helix?

I've added:
@font-face {
font-family: 'sf_pro';
src: url('../kongres/images/fonts/sfpro/SFProDisplay-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

to custom code/custo css

and I can not see new fon family

Zbigniew

12 replies

Zbigniew Krełowski Asked this

Hi,
it is not about my topic.

I want to add fon family outside of goole fonts.

So I have .ttf file on my server and this piece of code:
@font-face { font-family: 'sf_pro'; src: url('../kongres/images/fonts/sfpro/SFProDisplay-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; }

and
a/ I made it wrong,
b/ I do not know how to use it

Ido not see this font family.

Zbigniew

Muntasir Sakib Staff

Hello there,

Please follow the documentation here and add the custom code as directed there to add custom fonts outside of Google fonts.

Thanks!

Ofi Khan Staff

Hello Zbigniew Krełowski

Please go to this documentation and press CMD + F (for Mac) or CTRL + F (for Windows) and search for Custom Font. You will find a detailed instruction.

Screenshot at Aug 11 15-38-16.png

Best regards

Zbigniew Krełowski Asked this

Hi All,
thanks.

Now I have got a problem with source:

"jquery-migrate.min.js?0e52a5dd48ede53287b845083f1d1966:2 JQMIGRATE: Migrate is installed, version 1.4.1
/index.php/pl/fonts/SFProDisplay-Regular.ttf:1 Failed to load resource: the server responded with a status of 404"

Zbigniew

Zbigniew Krełowski Asked this

Sorry,
solved.

Thanks.

z

Zbigniew Krełowski Asked this

One more question - how to chnge fonts on Android?
On every mobile my page use default font and I want to change it for my added family font?

Zbigniew

Zbigniew Krełowski Asked this

And generaly, how to have the same (not google) fonts on every OS (win, iOs, android, linux) and every kind of internet browser (chrome, ff, safari, oper, edge)?

Zbigniew

Zbigniew Krełowski Asked this

Sorry, once again.
Solved.
Zbigniew

Log in to reply.