MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Can't get module background to change

    Custom CSS
    2
    4
    353
    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.
    • M
      Memphismark last edited by

      in my custom.css file I have this code:

      body {
        color: #aaa;
      }
      
      .dimmed {
        color: #000
      }
      
      .normal {
        color: #000
      }
      
      .bright {
        color: #000
      }
      
      .module.clock {
        background.color: rgb(255, 255, 255);
        opacity: 0.5;
      border-radius:8px;
      padding:8px;
      }
      

      And it won’t work. I can change the dimmed/bright/normal colors and it changes, so I know it’s reading the file. However I can’t get the opaque background around the module at all.
      }

      A 1 Reply Last reply Reply Quote 0
      • A
        ashishtank @Memphismark last edited by

        @memphismark said in Can't get module background to change:

        background.color: rgb(255, 255, 255);

        it should be as below, notice the - (dash) instead of . (dot)

        background-color : rgb(255, 255, 255);
        
        M 1 Reply Last reply Reply Quote 0
        • A
          ashishtank @Memphismark last edited by

          @memphismark said in Can't get module background to change:

          background.color: rgb(255, 255, 255);

          it should be as below, notice the - (dash) instead of . (dot)

          background-color : rgb(255, 255, 255);
          
          M 1 Reply Last reply Reply Quote 0
          • M
            Memphismark @ashishtank last edited by

            @ashishtank
            Thank you ! A classic case of the 2% threshold! (you must be at least 2% smarter than what you’re operating to operate it properly)

            A 1 Reply Last reply Reply Quote 1
            • A
              ashishtank @Memphismark last edited by

              @memphismark 😁

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy