• 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 CSS for tv series guest stars in grid view

     
    • 0 Vote(s) - 0 Average

    CSS for tv series guest stars in grid view

    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #1
    2025-02-02, 03:41 PM (This post was last modified: 2025-02-02, 03:43 PM by zelpi. Edited 1 time in total.)
    Hi,

    I would like to adjust my tv series with grid views. For the general "Cast & Crew" I have the functioning css but it has no effect on the "Guest stars" (the cast for the individual episodes).

    Can someone please provide this?
    Ted Hinklater
    Offline

    Member

    Posts: 155
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #2
    2025-02-02, 07:42 PM (This post was last modified: 2025-02-03, 11:45 AM by Ted Hinklater. Edited 1 time in total.)
    you want to target #guestCastCollapsible
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #3
    2025-02-03, 09:45 AM (This post was last modified: 2025-02-03, 09:47 AM by zelpi. Edited 1 time in total.)
    I inserted this (replacing only #guestCastCollapsible), but it didn't work:

    #guestCastCollapsible .card.overflowPortraitCard {
    width: 4.2cm;
    font-size: 90%;
    }
    #guestCastCollapsible .personCard {
    width: auto;
    }
    #guestCastCollapsible .personCard .cardBox {
    margin-bottom: 0px;
    margin-right: 20px;
    }
    #guestCastCollapsible {
    flex-wrap: wrap;
    }
    .itemDetailPage .cardText {
    text-align: left;
    }
    .itemDetailPage .textActionButton {
    text-align: left;
    }
    Ted Hinklater
    Offline

    Member

    Posts: 155
    Threads: 8
    Joined: 2023 Nov
    Reputation: 22
    Country:United Kingdom
    #4
    2025-02-03, 11:44 AM (This post was last modified: 2025-02-03, 11:46 AM by Ted Hinklater. Edited 1 time in total.)
    sorry mate I just had a look, it's #guestCastContent

    This will show them as a grid with 6 columns

    Code:
    .layout-desktop #castContent,
    .layout-desktop #guestCastContent {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 0em;
        white-space: normal;
    }

    .layout-desktop #castContent .personCard,
    .layout-desktop #guestCastContent .personCard {
        width: auto;
    }

    [Image: iwDeq3Y.png]
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #5
    2025-02-03, 01:02 PM (This post was last modified: 2025-02-03, 01:07 PM by zelpi. Edited 1 time in total.)
    Thanks for the code.

    First, the grid was displayed with different image sizes, maybe because the sizes of my original images are different.

    I fixed that by changing

    width: auto

    to

    height: auto.

    Now it works just fine :-)
    « 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