• 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 Re-arranging the order of sections is easy!

     
    • 0 Vote(s) - 0 Average

    Re-arranging the order of sections is easy!

    TheDMV
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2023 Nov
    Reputation: 1
    #1
    2023-11-10, 08:40 AM
    I hated having "Special Features" buried down the bottom and never noticing them. I wanted to have Specials show up before the cast. First I was looking at moving things around with margins and positioning. Big pain in the ass because of all the edge cases. SO many edge cases.

    Fortunately, there's a super easy fix, thanks to flexboxes! All you have to do is add the "order" css attribute, and... well, actually, that's it.

    Whatever order you put these in (they start at 0) is the order they'll display in. If two or more are the same number, they'll just display in the normal order.

    #specialsCollapsible {
    order:1;
    }
    #castCollapsible {
    order:2;
    }
    #seriesScheduleSection {
    order:3;
    }
    #musicVideosCollapsible {
    order: 4;
    }
    #scenesCollapsible {
    order: 5;
    }
    #similarCollapsible {
    order: 6;
    }
    1
    « 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