Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
7786 Visninger

How to add custom font on odoo v11

Avatar
Kassér

where you want ? into odoo report or in odoo framework(frontend) ?

in odoo framework(frontend)

Forfatter Bedste svar

This is the solution:

 I added this into my css:


.test {
        @font-face {
        font-family: 'myfont';
        src: url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.eot');
        src: url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.eot?#iefix') format('embedded-opentype'),
        url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.woff') format('woff'),
        url('/theme_test/static/src/fonts/230163575-DINNextLTArabic-Regular.ttf') format('truetype'),
        url('/theme_test/static/src/fontss/230163575-DINNextLTArabic-Regular.svg#DIN Next LT Arabic') format('svg');
        font-weight: normal;
        font-style: normal;
        }

            li {
                font-family: 'myfont';
                }
}

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
2
jul. 22
8993
1
mar. 22
4942
1
jun. 21
2270
2
feb. 21
299
5
sep. 20
14139