• 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 Code Problem

     
    • 0 Vote(s) - 0 Average

    CSS Code Problem

    CSS Text does not hide in fullscreen mode
    RostigerSpieler
    Offline

    Member

    Posts: 52
    Threads: 13
    Joined: 2023 Sep
    Reputation: 1
    Country:Germany
    #1
    2026-03-13, 07:10 PM
    As there isn’t a plugin for this feature, I’ve created some CSS code that displays a specific type of text at the top of the Jellyfin header.
    So far, it’s working really well. However, I’ve run into the problem that this text is also visible when watching films in full-screen mode. Is there a way to hide the text as soon as the film is in full-screen mode?
    To help you understand what I mean, see the screenshots.


    I’ve already had a bit of a go at it. However, I’m not that familiar with CSS. 

    Here is my CSS code:

    Code:
    body::before {
        content: "🎬 2640    📺 150  \2003  🕒Letztes Update: 10.03.26 ";
        position: fixed;
        top: 20px;
        right: 300px;
        z-index: 9999;
        font-family: 'Segoe UI', Roboto, sans-serif;
        font-size: 1.2rem;
        font-weight: 400;
        color: yellow;
        background: transparent;
        white-space: nowrap;
    }

    /* Hide if an element with the ‘full-screen’ class exists */
    body:has(div.videoPlayerContainer.fullscreen)::before {
        display: none;
    }


    Attached Files Thumbnail(s)
           
    Jellyfin: 10.11.10
    My Movie Server: Asrock A300 Desk Mini
    CPU: AMD Ryzen 5 3400G
    RAM: G.Skill RipJaws DDR4-3000 32GB
    System SSD: Intenso MI500 1TB NVMe
    Movie HDD: WD Elements 25A3 8TB + 8TB Series
    Windows 11 Pro
    « 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