Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Move Module to corner

    Development
    4
    9
    6202
    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.
    • andrewchumchal
      andrewchumchal last edited by

      How can I move a module more to the corner so i can get ride of the blank space ? Corner Picture Will auto-remove after 30 days

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

        @andrewchumchal the body has a margin in main.css

        body {
          margin: 60px;
          position: absolute;
          height: calc(100% - 120px);
          width: calc(100% - 120px);
          ...
        }
        

        you could override that in custom.css

        1 Reply Last reply Reply Quote 0
        • KirAsh4
          KirAsh4 Moderator last edited by

          Note that if you are trying to move it down, you won’t be able to because the newsfeed module takes up that space. Please look at the various regions on this post: https://forum.magicmirror.builders/topic/286/regions

          andrewchumchal 1 Reply Last reply Reply Quote 0
          • andrewchumchal
            andrewchumchal @KirAsh4 last edited by

            @KirAsh4 @strawberry-3-141

            Thanks Guys

            1 Reply Last reply Reply Quote 0
            • P
              Patrick last edited by

              Did it work? I tried it aswell and have the problem, that i just adjust the left-margin?
              (tried it with custom & main.css)

              Can someone help? 🙂

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

                @Patrick the correct css property is called margin-left not left-margin, maybe this was your mistake.

                you can post your css here so we can have a look on it

                P 1 Reply Last reply Reply Quote 0
                • P
                  Patrick @strawberry 3.141 last edited by

                  @strawberry-3.141 sorry for my wrong explanation.
                  I just want to reduce the whole margin because my display is to small for weather + clock.
                  So i tried to reduce it with the tags:

                  • margin: xxx

                  • margin-left: xxx in combination with margin-right: xxx
                    both didn’t work.
                    I had the problem that everything just moved to the left instead of providing more space.
                    So i had at the right a huge blank space which wasn’t my plan… (Check the attached picture)
                    Thank you for your help!
                    0_1476032707196_Problem.png

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

                    @Patrick I would try this

                    body {
                      margin: 10px;
                      position: absolute;
                      height: calc(100% - 20px);
                      width: calc(100% - 20px);
                    }
                    
                    P 1 Reply Last reply Reply Quote 0
                    • P
                      Patrick @strawberry 3.141 last edited by

                      @strawberry-3.141 Thank you! Now it works very well!
                      Don’t know why i didn’t thought about height & width before 😃

                      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