• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Custom Fonts in Jellyfin?

     
    • 0 Vote(s) - 0 Average

    Custom Fonts in Jellyfin?

    Hjklinux
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #1
    2023-11-04, 08:06 PM
    Hi all,

    I am running the latest version of Jellyfin on Ubuntu server 22.04.

    How can I use a custom font that is locally stored on my server? I have the .otf installed to the fonts directory but am struggling to find the CSS required to make it work.

    Any help is appreciated, thank you!
    BobHasNoSoul
    Offline

    Junior Member

    Posts: 28
    Threads: 2
    Joined: 2023 Oct
    Reputation: 0
    #2
    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
    SethBacon
    Offline

    Member

    Posts: 51
    Threads: 3
    Joined: 2023 Nov
    Reputation: 5
    Country:Canada
    #3
    2023-11-07, 07:37 AM
    @BobHasNoSoul Holy crap this is the magna carta of Jellyfin customization. I am particularly interested in your jellyfin-featured plugin ill message on that thread.
    Hjklinux
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #4
    2023-11-07, 08:45 AM
    (2023-11-06, 06:47 PM)BobHasNoSoul Wrote: @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

    Wow, thanks so much for that. I got it working and definitely learned a few things a long the way - appreciate your help. I am however saddened to see that the styling changes do not appear on the Amazon FireStick version of the app for one reason or another. Is there a way to get that to work or is it done like that by design?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode