• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

different screen resolution

Scheduled Pinned Locked Moved Custom CSS
2 Posts 2 Posters 646 Views 2 Watching
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 Offline
    bdream
    last edited by Jun 15, 2020, 12:49 PM

    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?

    –
    cheers, bdream

    S 1 Reply Last reply Jun 15, 2020, 1:42 PM Reply Quote 0
    • S Away
      sdetweil @bdream
      last edited by Jun 15, 2020, 1:42 PM

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy