Add myfonts

More
4 years 6 months ago #7775 by autokalny
autokalny created the topic: Add myfonts
How can I make my font created in the template? I have a file OTF. thank you

Please Log in or Create an account to join the conversation.

More
4 years 6 months ago #7790 by artur
artur replied the topic: Add myfonts
Hello,
I do not know for which elements exactly you like to add new font but,
you can add CSS style in 'less/custom.less'. Example :
@font-face {
    font-family: myFirstFont;
    src: url(sansation_light.woff);
}

div {
    font-family: myFirstFont;
} 

More details :
www.w3schools.com/css/css3_fonts.asp

Best Regards.

Please Log in or Create an account to join the conversation.

Time to create page: 0.225 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.