MagicMirror Forum

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

    Change Module Position for a Newbie

    Troubleshooting
    2
    3
    2861
    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
      petergaytan last edited by

      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

      strawberry 3.141 1 Reply Last reply Reply Quote 0
      • strawberry 3.141
        strawberry 3.141 Project Sponsor Module Developer @petergaytan last edited by strawberry 3.141

        @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 Reply Quote 1
        • P
          petergaytan @strawberry 3.141 last edited by petergaytan

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