MagicMirror Forum

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

    Modify the Gap/Margins

    Development
    3
    4
    6644
    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.
    • ALombardi
      ALombardi last edited by

      I have removed overscan so it fits to the entire screen but I still have margins. Anyone know where I can go to removed/change these?

      Pictured below. The top and left margins are the worst.

      Imgur
      0_1479831248460_IMG_1520.JPG

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

        Hi @ALombardi ,

        edit your custom.css and add these Lines. The Body Part should look like this:

        body {
        margin: 30px;
        position: absolute;
        height: calc(100% - 50px);
        width: calc(100% - 50px);
        }

        1 Reply Last reply Reply Quote 1
        • ALombardi
          ALombardi last edited by ALombardi

          Thanks, @ostfilinchen! Someone reached out over chat and took care of it for me. I appreciate your assistance. Hopefully someone else can benefit from this thread though!

          1 Reply Last reply Reply Quote 0
          • H
            hefeteig last edited by hefeteig

            For those of us who use this in a real Magic Mirror 😉 there’s no need to have any margins (top, left, right, bottom) and it is great to use all pixels of the display. If you’re with me… use the following in ~/MagicMirror/css/custom.css:

            body {
                margin: 0px;
                position: absolute;
                height: 100%;
                width: 100%;
            }
            
            1 Reply Last reply Reply Quote 1
            • 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