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.

    Throwing down the gauntlet

    Scheduled Pinned Locked Moved Troubleshooting
    85 Posts 11 Posters 106.6k Views 11 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.
    • jproehlJ Offline
      jproehl @jproehl
      last edited by

      @jproehl Don’t know why it split the code like that, but is it a sign? I posted all of this as a block of text (file upload wasn’t allowed to my new user). So does this splitting of the text suggest a bad formatting command in either or both files?

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

        @jproehl said in Throwing down the gauntlet:

        I appended it to my custom.css file. But I don’t see any difference in the MagicMirror view.

        First, close out the body with a }

        body  {
        } 
        
        .clock .time {
        color: #99F;
        }
        
        

        Create a working config
        How to add modules

        jproehlJ 2 Replies Last reply Reply Quote 0
        • jproehlJ Offline
          jproehl @Mykle1
          last edited by

          @Mykle1 Doesn’t all of that text go within the body? There is a close } at the very end of the custom.css file that closes the body. Is that misplaced?

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

            @jproehl said in Throwing down the gauntlet:

            So does this splitting of the text suggest a bad formatting command in either or both files?

            Nope. Before you paste code, simply put three back ticks It's under your tilde key, then close out the code with three more back ticks

            Create a working config
            How to add modules

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

              @jproehl said in Throwing down the gauntlet:

              Doesn’t all of that text go within the body? There is a close } at the very end of the custom.css file that closes the body. Is that misplaced?

              No sir, not in this case. css is a bit different than config. That last } in your css is not doing anything. You can remove it. If you fixed the body and save the css file, you should see your changes after relaunching MM

              Create a working config
              How to add modules

              jproehlJ 2 Replies Last reply Reply Quote 0
              • jproehlJ Offline
                jproehl @Mykle1
                last edited by

                @Mykle1 Okay, thanks! I was way off! I made that change and now I get red text for the high temperature (so that’s progress, yea!!) but all the other stuff is still gray. I must still have some other syntax errors some where. Back to looking at the code …

                1 Reply Last reply Reply Quote 0
                • jproehlJ Offline
                  jproehl @Mykle1
                  last edited by

                  @Mykle1 Okay, I got it! I was missing a close bracket in my

                  .MMM-WunderGround .min-temp

                  definition, and fixing that fixed everything!! Even the line of icons in the current weather disappeared!!

                  Thank you so much!

                  Mykle1M 2 Replies Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @jproehl
                    last edited by

                    @jproehl said in Throwing down the gauntlet:

                    and fixing that fixed everything!! Even the line of icons in the current weather disappeared!!
                    Thank you so much!

                    Glad to be of service. I’m just paying back Strawberry’s kindness to me by helping

                    Create a working config
                    How to add modules

                    jproehlJ 1 Reply Last reply Reply Quote 1
                    • jproehlJ Offline
                      jproehl @Mykle1
                      last edited by

                      @Mykle1 Well, I applaud your efforts (it’s getting rarer in this messed up country) … I hope someday to figure this stuff out to a point where I can help another newbie. Thanks again!

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

                        @jproehl said in Throwing down the gauntlet:

                        Well, I applaud your efforts (it’s getting rarer in this messed up country) …

                        New York City, USA. I’m just trying to be good representative of my city and country.

                        I hope someday to figure this stuff out to a point where I can help another newbie. Thanks again!

                        Dude, one month ago I knew less than you, guaranteed. You will be helping others soon, guaranteed.

                        Peace

                        Create a working config
                        How to add modules

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

                          @jproehl said in Throwing down the gauntlet:

                          Thank you so much!

                          I just stole your coloring code for the date and time. haha, so thank you. See? You’re helping already. :thumbsup_tone1:

                          Create a working config
                          How to add modules

                          1 Reply Last reply Reply Quote 0
                          • jproehlJ Offline
                            jproehl @Mykle1
                            last edited by

                            @Mykle1 Have at it! FYI: the one I can’t get to work is the .newsfeed .title I still get small letters in gray for “New York Times” and “BBC”. If I go into the main.css and change the color/size for “small” text, that works but hear that isn’t recommended since it will disappear if I update MagicMirror.

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

                              @jproehl custom.css

                              .newsfeed div.light.small.dimmed {
                                color: #e54a1b;
                                font-size: 9px;
                              }
                              

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

                              Mykle1M jproehlJ 3 Replies Last reply Reply Quote 3
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @strawberry 3.141
                                last edited by

                                @strawberry-3.141 said in Throwing down the gauntlet:

                                custom.css

                                I found myself squinting to read the source of the newsfeed in its default, dimmed state, so I jumped all over this. Now, with your css entry, and a little adjustment on my part, I now have my font-size: at 18px and its color: set to #99F.

                                Every time I think my mirror is perfect, you make it better. genuflecting We are not worthy!

                                Many thanks, many times. :thumbsup_tone2:

                                Create a working config
                                How to add modules

                                johnnyboyJ 1 Reply Last reply Reply Quote 2
                                • jproehlJ Offline
                                  jproehl @strawberry 3.141
                                  last edited by

                                  @strawberry-3.141 said in Throwing down the gauntlet:

                                  .newsfeed div.light.small.dimmed {
                                  color: #e54a1b;
                                  font-size: 9px;
                                  }
                                  Great, works like a charm! Thanks again!

                                  1 Reply Last reply Reply Quote 0
                                  • jproehlJ Offline
                                    jproehl @strawberry 3.141
                                    last edited by

                                    @strawberry-3.141 Hi: Can you point me to a reference where I can learn how to determine the precise terms to use for doing this? For example, how do you determine that “div.light.small.dimmed” was the proper parameter to enter to change the text I was after?

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

                                      @jproehl it’s not super simple to find out what to write in the css if you are not familiar with css and javascript since most of that is names specified by the coders of the magic mirror and the modules,

                                      If it’s not specified in the module documentation you can look in the modules .js file and search for the text className after that is usually specified one or more classes that will determine the appearance of what is being displayed.

                                      The className should also be visible if you look at the html code in the browser.

                                      jproehlJ 1 Reply Last reply Reply Quote 1
                                      • jproehlJ Offline
                                        jproehl @broberg
                                        last edited by

                                        @broberg Okay, I’ll poke around in the codes. Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jbeck615 @strawberry 3.141
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jbeck615 @jproehl
                                            last edited by

                                            @jproehl curious if you ever solved #2? i got the same issue with the icons showing up under the current

                                            jproehlJ 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • 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