• 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.

Module position

Scheduled Pinned Locked Moved Forum
module
4 Posts 2 Posters 778 Views 1 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.
  • G Offline
    George
    last edited by Nov 8, 2020, 12:13 PM

    Hello,
    I’m a novice, now I’ve built the first mirror. I want to position a module in a certain area, I tried with:
    module: “MMM-MoonPhase”,
    position: {
    left: calc (100 vh - 50%),
    top: calc (100wv - 40%)
    }
    config: {

    But it does not work. How should the code be written? Thanks

    S 1 Reply Last reply Nov 8, 2020, 12:38 PM Reply Quote 0
    • S Offline
      Snille Module Developer @George
      last edited by Nov 8, 2020, 12:38 PM

      @George Hi, you use the defined “regions”: https://forum.magicmirror.builders/topic/286/regions
      Like this, this is from my config:

      		{
      			disabled: false,
      			module: "MMM-MoonPhase",
      			position: "top_right", // This is the region... 
      			config: {
      				updateInterval: 43200000,
      				hemisphere: "N",
      				resolution: "detailed",
      				basicColor: "white",
      				title: true,
      				phase: true,
      				x: 150,
      				y: 150,
      				alpha: 0.7
      			}
      		},
      

      If you cant find it, make it and share it!
      Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

      G 1 Reply Last reply Nov 8, 2020, 2:23 PM Reply Quote 0
      • G Offline
        George @Snille
        last edited by Nov 8, 2020, 2:23 PM

        @Snille , thanks for the reply. I want to partially overlap another module over the “Moon” module. For this I need a positioning with coordinates, otherwise they will not overlap. Do you have any idea how I can do it?

        S 1 Reply Last reply Nov 8, 2020, 5:04 PM Reply Quote 0
        • S Offline
          Snille Module Developer @George
          last edited by Nov 8, 2020, 5:04 PM

          @George Oh, no, not really, but I’m sure it’s possible with CSS, so it would be in your “custom.css” file you should do what’s needed…
          Maybe some one else knows? :)

          If you cant find it, make it and share it!
          Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            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