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.

    mmm-moon-phases don't work for me

    Scheduled Pinned Locked Moved Troubleshooting
    36 Posts 4 Posters 17.0k Views 4 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @justjim1220
      last edited by Mykle1

      @justjim1220

      Try this to get the moon closer to the text

      margin-bottom: -51px; /* -51px for current. -21px for animation or static. */

      RTFM? ;-)

      Create a working config
      How to add modules

      justjim1220J 3 Replies Last reply Reply Quote 1
      • justjim1220J Offline
        justjim1220 Module Developer @Mykle1
        last edited by

        @mykle1

        RTFM???

        Yeah, it would help if I was making the changes in my custom.css and not the Lunartic.css…LMAO!!!

        but I am having an issue with the header…

        0_1530407893133_Screenshot (19).png

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        1 Reply Last reply Reply Quote 0
        • justjim1220J Offline
          justjim1220 Module Developer @Mykle1
          last edited by

          @mykle1

          Making changes in custom.css being over-ridden by the Lunartic.css and the .js files… if I change those, then it is sort of working… this is setting top margin to -11px and the bottom margin to -91px.

          0_1530408635612_Screenshot (20).png

          was kinda hoping to get the header to match the headers to the other modules… its close, but not quite the same. I will go back to my original setting for the header. I was using the header settings from the custom.css that all the modules are using from the start. I even tried using the same settings in the header in the Lunartic header settings…

          .MMM-Lunartic .header {
              color: yellow; /* Header color. Default is white. */
              text-align: center;
              text-transform: none;
              font-size: 40px;
              font-family: "Segoe Print", Arial, Helvetica, sans-serif;
              font-weight: bolder;
              border: 2px solid yellow;
              border-radius: 25px;
              line-height: 55px;
              padding-bottom: 5px;
              margin-bottom: 10px;
          }
          

          0_1530409097824_Screenshot (21).png

          this is with the header that is the same as the other headers and setting useHeader to false.
          Just need to figure out why the header going behind the moon pic, Would be nice to have it a bit closer.

          "Life's Too Short To Dance With Ugly People"
          Jim Hallock - 1995

          1 Reply Last reply Reply Quote 0
          • justjim1220J Offline
            justjim1220 Module Developer @Mykle1
            last edited by

            @mykle1

            gotta ask again… what is RTFM??? :confused_face:

            "Life's Too Short To Dance With Ugly People"
            Jim Hallock - 1995

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @justjim1220
              last edited by

              @justjim1220

              Read the F#$king Manual. It was a joke, referring to the annotations of the css file. The image of the moon likely has a large black border that you can’t see. The header might be obscured by it

              Create a working config
              How to add modules

              justjim1220J 2 Replies Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by

                I don’t use headers

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • justjim1220J Offline
                  justjim1220 Module Developer @Mykle1
                  last edited by

                  @mykle1

                  ROTFLMFAO!!!

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

                  1 Reply Last reply Reply Quote 0
                  • justjim1220J Offline
                    justjim1220 Module Developer @Mykle1
                    last edited by

                    @mykle1

                    Actually, I DID RTFM… But I don’t see where it is explained how to make the text closer to the moon…
                    At least, where you have the settings in your Lunartic.css, it doesn’t really explain why we need those settings… :face_with_stuck-out_tongue: :face_with_stuck-out_tongue: :face_with_stuck-out_tongue_closed_eyes: :face_with_stuck-out_tongue_closed_eyes: :face_with_stuck-out_tongue_winking_eye: :face_with_stuck-out_tongue_winking_eye:

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

                    1 Reply Last reply Reply Quote 1
                    • justjim1220J Offline
                      justjim1220 Module Developer
                      last edited by

                      is the current showing a static pic??? doesn’t look like it ever changes…

                      "Life's Too Short To Dance With Ugly People"
                      Jim Hallock - 1995

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @justjim1220
                        last edited by

                        @justjim1220 said in mmm-moon-phases don’t work for me:

                        is the current showing a static pic??? doesn’t look like it ever changes…

                        Let me put it this way. If you stared at the moon all night would you see any changes? Very unlikely. So, although the image updates, you won’t see much difference in the incremental changes. Also, would you notice the difference between a moon that is 56% illuminated and a moon that is 57% illuminated. I think you get my point.

                        This is where the image comes from

                        http://api.usno.navy.mil/imagery/moon.png?date=today&time=now

                        Create a working config
                        How to add modules

                        justjim1220J 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • 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