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.

    Layout problem

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 4 Posters 6.0k 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.
    • F Offline
      fiskaren @broberg
      last edited by

      @broberg Awesome, will try that soon after my trip to the store for a PIR-sensor.

      The clock is at top_bar and right now the weather is at top_left. When both are placed at top_barthe clock are one row over the weather. Will that auto-adjust when changing the font?

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @fiskaren
        last edited by

        @fiskaren no, if they are in the same region they will always stock on top of each other.

        use top_left for clock and top_right for weather and then place the other modules in the upper/lower third regions and bottom regions.

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          fiskaren @broberg
          last edited by

          @broberg Well I am not really happy with the results right now. I have changed the size pretty much, but they still merge into eachother. And I realize I have to change the size even more if I dont want them to do that. And since that changes the font on every module it will look crazy and also unreadable.

          Here is a picture of how it looks right now:
          http://imgur.com/a/t8JDj

          Is it possible to force the modules some pixels out? Because if so I could put them closer to the edges and that would probably solve the problem.

          The last solution could be to remove wind-speed. But it’s windy where I live and I would very much like to know the wind speed!

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

            @fiskaren custom.css

            body {
              margin: 0px;
              height: 100%;
              width: 100%;
            }
            

            Please create a github issue if you need help, so I can keep track

            F 1 Reply Last reply Reply Quote 0
            • brobergB Offline
              broberg Project Sponsor
              last edited by

              Do what strawberry wrote, it will give you more space on the screen.

              also

              This should change the size of the fonts in the top two modules only

              
              .currentweather {
              font-size: 50%;
              }
              
              .clock {
              font-size: 50%;
              }
              
              
              1 Reply Last reply Reply Quote 0
              • F Offline
                fiskaren @strawberry 3.141
                last edited by

                @strawberry-3.141 said in Layout problem:

                @fiskaren custom.css

                body {
                  margin: 0px;
                  height: 100%;
                  width: 100%;
                }
                

                @broberg said in Layout problem:

                Do what strawberry wrote, it will give you more space on the screen.

                also

                This should change the size of the fonts in the top two modules only

                
                .currentweather {
                font-size: 50%;
                }
                
                .clock {
                font-size: 50%;
                }
                
                

                Awesome. Thank you both. It looks perfect now! :D

                1 Reply Last reply Reply Quote 0
                • FlatPepsiF Offline
                  FlatPepsi
                  last edited by FlatPepsi

                  You might find this useful, I thought it was awesome when I saw it:

                  https://forum.magicmirror.builders/topic/286/regions

                  top_bar and bottom_bar are light gray
                  top_left and bottom_left are red
                  top_center and bottom_center are blue
                  top_right and bottom_right are green
                  upper_third is yellow
                  middle_center is cyan
                  lower_third is magenta

                  All these regions will resize as needed.
                  alt text

                  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