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.

    The screen doesn't have the right size

    Scheduled Pinned Locked Moved Solved Troubleshooting
    15 Posts 5 Posters 9.3k Views 5 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.
    • V Offline
      vicdilou
      last edited by

      I want the same margin on both side ^^

      Screenshot

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        ah, I see
        Did you change something in custom.css or main.css?
        Or is your screen completely offset?
        If you quit MagicMirror and go back to desktop or terminal, is this shifted too?

        V 1 Reply Last reply Reply Quote 0
        • V Offline
          vicdilou @yawns
          last edited by

          @yawns I don’t change the CSS files, and the screen is shifted just in MagicMirror.

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            chrisfoerg @vicdilou
            last edited by

            @vicdilou maybe the displayed screen is shifted to the left? it looks like you have an old monitor no led.
            you can change the background color in the custom.css to see the edges maybe that helps

            V 1 Reply Last reply Reply Quote 0
            • O Offline
              ostfilinchen
              last edited by

              after update my MM, the custom.css was clear. all my changes go away. to my luck, i had an backup :-)

              1 Reply Last reply Reply Quote 0
              • V Offline
                vicdilou @chrisfoerg
                last edited by

                @chrisfoerg The screen is shifted only with MagicMirror, before the update I didn’t have problème. I’m 100%sure the problem does not come from the screen.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  chrisfoerg @vicdilou
                  last edited by

                  @vicdilou to find the problem can you change the background color? black on black is difficult to see where the body tags ends

                  V 1 Reply Last reply Reply Quote 1
                  • V Offline
                    vicdilou @chrisfoerg
                    last edited by

                    @chrisfoerg How can I do this ? I’ll try in the evening.

                    C 1 Reply Last reply Reply Quote 0
                    • yawnsY Offline
                      yawns Moderator
                      last edited by

                      Please check the content of ~/MagicMirror/css/main.css

                      The body part should look like this:

                      body {
                        margin: 60px;
                        position: absolute;
                        height: calc(100% - 120px);
                        width: calc(100% - 120px);
                        background: #000;
                        color: #aaa;
                        font-family: "Roboto Condensed", sans-serif;
                        font-weight: 400;
                        font-size: 2em;
                        line-height: 1.5em;
                        -webkit-font-smoothing: antialiased;
                      }
                      

                      To change background-color change background: #000; to background: #FF0000; and refresh your mirror

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        chrisfoerg @vicdilou
                        last edited by

                        @vicdilou in the file custom.css in the folder ~/MagicMirror/css

                        body {
                        margin: 0px;
                        height: 100%;
                        width: 100%;
                        background-color: red;
                        }

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