Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    different screen resolution

    Custom CSS
    2
    2
    74
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bdream last edited by

      Hi guys,
      I startet right now with my experimental MagicMirror.
      I took an old LCD, an Pi0 and brought up my configuration of an alright running MM.

      Now, as I have different screen resolution I have to tune my custom.css and perhaps the modules in use.

      My question is:
      Is there a possibility, that MM swiches on the base of the connected screen
      a. different costum.css (expl. custom.4x3-1024x768, custom.XxY-1680x105, …) or
      b. different sections within a custom.css

      That would give a possibility maintaining only one (set of) custom.css, don’t matter the display connectet to MM

      Additional I would like to do same with config.js on base of connectes screen.

      Any ideas?

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @bdream last edited by

        @bdream well, the main.css is hard coded to 1920/1080…

        I have an adjusted one that uses view height/width
        view height/width main.css

        config.js doesn’t adjust and most modules (including mine) are pixel based

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy