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

Change Module Position for a Newbie

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 3.5k 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.
  • P Offline
    petergaytan
    last edited by Dec 24, 2016, 3:05 PM

    Hello,

    I just built a Magic Mirror for my girlfriend as a Christmas present. The frame has a bit of an overlap, so a portion of the screen is covered on all sides.

    I hate to bother, but is it possible to move a module a specific amount of px? I have a screenshot of what I am trying to do.

    Thank you!
    alt text

    S 1 Reply Last reply Dec 24, 2016, 3:41 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @petergaytan
      last edited by strawberry 3.141 Dec 24, 2016, 3:42 PM Dec 24, 2016, 3:41 PM

      @petergaytan you can do that by putting the following in MagicMirror/css/custom.css

      body {
        margin: 70px;
        height: calc(100% - 140px);
        width: calc(100% - 140px);
      }
      

      propably you have to play yourself with those values, but the subtraction of height and width have to be 2*margin value

      Please create a github issue if you need help, so I can keep track

      P 1 Reply Last reply Dec 24, 2016, 4:00 PM Reply Quote 1
      • P Offline
        petergaytan @strawberry 3.141
        last edited by petergaytan Dec 24, 2016, 4:03 PM Dec 24, 2016, 4:00 PM

        @strawberry-3.141 Wow, thank you so much for the help! It looks perfect now. Merry Christmas! I took your survey. Thanks again!

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