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.

    Module positions

    Scheduled Pinned Locked Moved Custom CSS
    5 Posts 2 Posters 4.8k Views 2 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.
    • STRK14S Offline
      STRK14
      last edited by

      Hi there!
      So I have just set up my Magic Mirror. I now have 2 things i want to change but i don’t now how to do that. (Its probably the same way to solve both of my questions)

      I want my modules to be as close to the display-edge as posbible without the small blank space in between. How can I do that?

      The next problem i have is:
      I am using MMM-NowPlayingOnSpotify.
      A great module but its just to big for my small display. Can i set a size for a (this) module in px?

      Thank You (-:

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        Doum @STRK14
        last edited by

        @STRK14 For the blank space around your app. This is usually come from the css rule applied to the body (margin: 60px;).
        You can reduce it (or remove it to make it 0).

        For your module size, i guess that taking its main div and setting a max-width would do the tricks but i did not have a look at the code…

        1 Reply Last reply Reply Quote 0
        • STRK14S Offline
          STRK14
          last edited by

          Where can i find this “css-rule” ?

          1 Reply Last reply Reply Quote 0
          • D Offline
            Doum
            last edited by

            https://github.com/MichMich/MagicMirror/blob/master/css/main.css ln12

            1 Reply Last reply Reply Quote 0
            • STRK14S Offline
              STRK14
              last edited by

              thank you ! I’ll do that later today

              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