• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Custom.css

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 4 Posters 6.1k 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.
  • K Offline
    KirAsh4 Moderator
    last edited by Jul 24, 2016, 3:56 AM

    You don’t need a monitor on the pi to see the console. Any browser, anywhere, that can access the pi, can see the HTML output. In Chrome, hit 'F12' to open the console. At the top, make sure 'Elements' is selected. Now twiddle down the little arrows on the left, starting with the BODY tag. As you hover over the ones that just popped up, it highlights in the browser. 'region top bar' is where the calendar lives, twiddle that open. Hover over the 'region top left, center, right' and you can figure out where to go from there …

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

    1 Reply Last reply Reply Quote 0
    • B Offline
      bscarano
      last edited by Aug 3, 2016, 5:08 PM

      Not to Hijack the thread, but is there a way to change the color on just specific calendars if I have more than one in the module?

      M 1 Reply Last reply Aug 3, 2016, 5:43 PM Reply Quote 0
      • M Offline
        MichMich Admin @bscarano
        last edited by Aug 3, 2016, 5:43 PM

        @bscarano It’s not officially supported, but every module instance get’s it’s own id. If you take a look at the generated html, you’s see something like: id="module_2_calendar". This means you can use the following css:

        #module_2_calendar td {
          color: #ff0000;
        }
        

        But please note: since this isn’t an official feature, I can’t give any support on this, nor do I promise it will keep working in the future.

        1 Reply Last reply Reply Quote 0
        • B Offline
          bscarano
          last edited by Aug 3, 2016, 5:48 PM

          Maybe what’s I’m asking isn’t possible.

          I have the calendar module that pulls from 2 different calendars (main and FB birthdays. Both display together. What I’d like to do is show one calendar in one color and the other in another one.

          Is this possible to do or am I asking too much?

          Brendon

          1 Reply Last reply Reply Quote 0
          • M Offline
            MichMich Admin
            last edited by Aug 3, 2016, 6:01 PM

            I have two calendars in one calendar module as well. I use different icons for both calendar.

            With this in mind, you could do some fancy css like:

            tr:has(.fa-icon1) td .bright{
               color: red;
            }
            tr:has(.fa-icon2) td .bright{
               color: green;
            }
            

            I did not try it out, but It might work.

            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