• 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 Themes & Styles Home Style -- css code

     
    • 0 Vote(s) - 0 Average

    Home Style -- css code

    No Horizontal Scroll
    XoXoXoXo
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2025 Nov
    Reputation: 0
    #1
    2025-11-19, 08:18 AM
    How do I get the Home page in Jellyfin to display the page with no horizontal scroll, just scrolling down?

    I think the option is within css code, if I am correct about this.

    Thank you

       

       
    Ted Hinklater
    Offline

    Member

    Posts: 233
    Threads: 8
    Joined: 2023 Nov
    Reputation: 26
    Country:United Kingdom
    #2
    2025-11-19, 03:00 PM (This post was last modified: 2025-11-19, 03:26 PM by Ted Hinklater. Edited 2 times in total.)
    (2025-11-19, 08:18 AM)XoXoXoXo Wrote: How do I get the Home page in Jellyfin to display the page with no horizontal scroll, just scrolling down?

    I think the option is within css code, if I am correct about this.

    Thank you


    There are a few ways but I think a 7 x grid is cleanest. 

    First row sets the card sizes, 
    2nd row sets the containers as a grid (only on the index/homepage)
    3rd row limits the items to 14, it looks cleaner but feel free to remove that if you don't want it 

    Code:
    .layout-desktop #indexPage .overflowBackdropCard, .overflowPortraitCard, .overflowSquareCard { width: 12.5vw; }
    .layout-desktop #indexPage .itemsContainer { display: grid; grid-template-columns: repeat(7, 1fr); grid-gap: 1em; }
    .layout-desktop #indexPage .itemsContainer.scrollSlider.focuscontainer-x.animatedScrollX .card:nth-child(n+15) { display: none !important; }

    The CSS box you highlighted in your 2nd image - That box only applies to that user on that client.
    If you want it to apply to every user on every client, paste the code into the CSS box in your Dashboard, under "Branding"
    XoXoXoXo
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2025 Nov
    Reputation: 0
    #3
    2025-11-19, 07:29 PM
    (2025-11-19, 03:00 PM)Ted Hinklater Wrote:
    (2025-11-19, 08:18 AM)XoXoXoXo Wrote: How do I get the Home page in Jellyfin to display the page with no horizontal scroll, just scrolling down?

    I think the option is within css code, if I am correct about this.

    Thank you


    There are a few ways but I think a 7 x grid is cleanest. 

    First row sets the card sizes, 
    2nd row sets the containers as a grid (only on the index/homepage)
    3rd row limits the items to 14, it looks cleaner but feel free to remove that if you don't want it 

    Code:
    .layout-desktop #indexPage .overflowBackdropCard, .overflowPortraitCard, .overflowSquareCard { width: 12.5vw; }
    .layout-desktop #indexPage .itemsContainer { display: grid; grid-template-columns: repeat(7, 1fr); grid-gap: 1em; }
    .layout-desktop #indexPage .itemsContainer.scrollSlider.focuscontainer-x.animatedScrollX .card:nth-child(n+15) { display: none !important; }

    The CSS box you highlighted in your 2nd image - That box only applies to that user on that client.
    If you want it to apply to every user on every client, paste the code into the CSS box in your Dashboard, under "Branding"

    @Ted Hinklater, I do thank you sincerely, and I appreciate your help, delineate explanation of each line of the CCS codes, and for mentioning the extra, the method on how to apply this custom display universally. I thank you for quickly coming to assistance on this.

    I was annoyed with the default display, a matter of taste. I did try now and then to figure out how to change the Home display, and the arrangement you supplied for the display and style of Home page is magnificent and looks very pleasing. Thank you Ted.
    « 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