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-GoogleSheets can be made transparent!

    Scheduled Pinned Locked Moved Custom CSS
    3 Posts 3 Posters 19 Views 3 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.
    • A Offline
      amanzimdwini
      last edited by

      Not sure if everyone already knows this… but I just figured out that if you add

      .MMM-GoogleSheets table {
        background-color: transparent !important;
        border-collapse: collapse;
      }
      
      .MMM-GoogleSheets td,
      .MMM-GoogleSheets th {
        background-color: transparent !important;
        color: white !important;
        border: none !important;
      }
      

      to your custom.css, the background becomes transparent!
      (nice if you use, eg, https://github.com/parnic/MMM-Unsplash for a nicer background)

      Thought I’d share this just for the fun of it.
      Best,
      Karl

      S R 2 Replies Last reply Reply Quote 2
      • S Offline
        sdetweil @amanzimdwini
        last edited by

        @amanzimdwini nice!!!

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          ryandwilliams Module Developer @amanzimdwini
          last edited by

          In case anyone finds this in the future, this behavior is actually natively supported with the cellStyle option set to flat. From the documentation:

          flat - No styling applied. Data is shown in default MM styling
          

          The default for this option is mimic which copies exactly what you have in your existing sheet. If you didn’t want to use flat, you could still use mimic but change your sheet to match the MM (background color black, text color #fff, #666, or #999).

          If use the custom css be aware that it will have undefined behavior if you try to change other options in the future.

          Thanks for using the module!

          1 Reply Last reply Reply Quote 1

          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 / 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