2023-11-06, 06:47 PM
(This post was last modified: 2023-11-06, 06:50 PM by BobHasNoSoul. Edited 2 times in total.)
@font-face {
font-family: 'CustomFont';
src: url('/path-to-fonts/your-font.otf') format('opentype');
}
body {
font-family: 'CustomFont', 'Open Sans', sans-serif;
}
here is a more detailed explanation of this to be honest you also will need the font to have multiple versions of the same file to maximise compatibility with all browsers but this is down to you and whatever flavour and use case you pick
the types you should really use are: woff2, woff, eot, ttf, svg
https://github.com/bobhasnosoul/jellyfin...r-you-want
font-family: 'CustomFont';
src: url('/path-to-fonts/your-font.otf') format('opentype');
}
body {
font-family: 'CustomFont', 'Open Sans', sans-serif;
}
here is a more detailed explanation of this to be honest you also will need the font to have multiple versions of the same file to maximise compatibility with all browsers but this is down to you and whatever flavour and use case you pick
the types you should really use are: woff2, woff, eot, ttf, svg
https://github.com/bobhasnosoul/jellyfin...r-you-want