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.

    Sachin's Mirror

    Scheduled Pinned Locked Moved Show your Mirror
    30 Posts 5 Posters 27.4k Views 7 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.
    • Wilco89W Offline
      Wilco89 @KirAsh4
      last edited by

      @KirAsh4 thnx, i’m on my phone so really hard to type Long text.

      1 Reply Last reply Reply Quote 0
      • A Offline
        amanzimdwini @KirAsh4
        last edited by

        @KirAsh4 @Wilco89
        I really appreciate the help (and it works!)

        While I’m at it: just so that I understand: since compliments.js references thin xlarge bright I could have changed any of those three? They were referenced, so I can overwrite them? Ie in my custom.css:

        .module.compliments.bright {
          color: #ff0000;
        }
        

        or

        .module.compliments.xlarge{
          color: #ff0000;
        }
        

        would/should both in effect do the same thing?

        Or can I just change EVERYTHING in compliments to be color: #ff0000? ie

        .module.compliments{
          color: #ff0000;
        }
        

        (which I tried, and it did not work :( )

        Wilco89W 1 Reply Last reply Reply Quote 0
        • KirAsh4K Offline
          KirAsh4 Moderator
          last edited by

          You’re missing the required space. You’re dealing with two separate tags, with multiple CSS rules applied. So when creating a new rule, you have to do the same:

          .module.compliments .xlarge  <--- notice the space
          

          Without the space, it’s looking for a single tag that has all three rules applied, so it’s looking for class="module compliments xlarge". When you add the space, it’s now looking for two separate tags, a parent tag that has a class with both "module compliments" as rules, and then a child tag that has a class with "xlarge" for a rule.

          Does that make sense?

          A Life? Cool! Where can I download one of those from?

          A 1 Reply Last reply Reply Quote 0
          • Wilco89W Offline
            Wilco89 @amanzimdwini
            last edited by

            @amanzimdwini

            .module.compliments .bright {
            color: #ff0000;
            }

            Should work. (Don’t forget the space)

            1 Reply Last reply Reply Quote 0
            • A Offline
              amanzimdwini @KirAsh4
              last edited by

              @KirAsh4

              THANKS! (major lightbulb).
              Happy 4th to you and @Wilco89

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