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.

    Mirror smaller than screen (by 6cm) - Possible to alter the image size?

    Scheduled Pinned Locked Moved Hardware
    7 Posts 4 Posters 3.8k Views 3 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.
    • L Offline
      LondonTTB @broberg
      last edited by

      @broberg Thanks, added that to custom.css, however the top displays perfectly (with 250px margin for the top. I added margin-bottom, and cannot for the life of me get the standard module news ticker to appear. The rotating compliments works and displays, but the news ticker is nowhere to be seen.

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

        Please try this in custom.css:

        body {
          margin-top: 250px;
          margin-bottom: 250px;
          height: calc(100% - 500px); 
        }
        

        That should give a 250px margin from the top and the bottom and it should center the content on screen again. If you play with margin-top or margin-bottom values please adjust the height calculation.

        brobergB L 2 Replies Last reply Reply Quote 1
        • brobergB Offline
          broberg Project Sponsor @yawns
          last edited by

          @yawns said in Mirror smaller than screen (by 6cm) - Possible to alter the image size?:

          Please try this in custom.css:

          body {
            margin-top: 250px;
            margin-bottom: 250px;
            height: calc(100% - 500px); 
          }
          

          That should give a 250px margin from the top and the bottom and it should center the content on screen again. If you play with margin-top or margin-bottom values please adjust the height calculation.

          Yes, yawns are correct, sorry I missed that.

          1 Reply Last reply Reply Quote 0
          • L Offline
            LondonTTB @yawns
            last edited by

            @yawns Thank you, it works flawlessly!

            1 Reply Last reply Reply Quote 0
            • T Offline
              TTB20
              last edited by TTB20

              I can’t for the life of me work this out how to get the main middle content to remain in the middle. Any help please? How does the calculation work? I’ve managed to get the top content in the right position, and the bottom of the page, but then the middle content is just in the wrong place. :-(

              @yawns said in Mirror smaller than screen (by 6cm) - Possible to alter the image size?:

              Please try this in custom.css:

              body {
                margin-top: 250px;
                margin-bottom: 250px;
                height: calc(100% - 500px); 
              }
              

              That should give a 250px margin from the top and the bottom and it should center the content on screen again. If you play with margin-top or margin-bottom values please adjust the height calculation.

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy