Re-arranging the order of sections is easy! - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Themes & Styles (https://forum.jellyfin.org/f-themes-styles) +--- Thread: Re-arranging the order of sections is easy! (/t-re-arranging-the-order-of-sections-is-easy) |
Re-arranging the order of sections is easy! - TheDMV - 2023-11-10 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; } |