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.

    Can't get module background to change

    Scheduled Pinned Locked Moved Solved Custom CSS
    4 Posts 2 Posters 721 Views 2 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.
    • M Offline
      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 Offline
        ashishtank Module Developer @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 Offline
          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 Offline
            ashishtank Module Developer @Memphismark
            last edited by

            @memphismark :beaming_face_with_smiling_eyes:

            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