• 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.

MMM-CalendarExt3 color formatting

Scheduled Pinned Locked Moved Solved Troubleshooting
15 Posts 6 Posters 4.6k 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.
  • Z Offline
    ZiggidyZ
    last edited by Jan 29, 2024, 6:59 PM

    I understand 100% what you are saying, I had this same issue. What you are experiencing is the DEFAULT of CX3, that is how it looks if you don’t edit anything. By default the ICON next to the event will be the color you configured, but the event text will all be white. To change this you will need to edit your CUSTOM css file, DO NOT edit the css file inside of the module. I started off making that same mistake. The trouble in doing that, is that when a module gets updated, you lose anything you did. The customizations should be done in that custom.css file and should be backed up. Copy the code below into your ~MagicMirror/css/custom.css file, save, then refresh the browser window (I use the MMM-Remote-Control to refresh mine remotely), and you should see it load with the colors you configured in the default calendar module.

    * CalendarExtende3 */
    
    /* Sets event titles to configured color */
    .CX3A .event .description {
      display: none;
    }
    
    .CX3A .event .location {
      display: none;
    }
    

    I have 10 different calendars which my default calendar loads, all of which are displayed in CX3 with no issues.

    1 Reply Last reply Reply Quote 0
    • J Offline
      jlward73
      last edited by Jan 29, 2024, 8:50 PM

      So I figured out what the problem was, and it was much simpler than I suspected. For some reason, in my default calendar module, I used
      module: 'calendar' instead of module: "calendar" in the config file. When I ran npm run config:check, it made me change many of my quotation marks to “correct” the syntax. When I went through and changed everything to the double quotes, the color coding passed through to CalendarExt3 just as expected/designed. Now, I think I can go through and tweak the single day events as MMRIZE was suggesting to match my background pictures so they stand out appropriately for my set up. Thank you for all the guidance.

      G S 2 Replies Last reply Feb 28, 2024, 1:59 PM Reply Quote 0
      • G Offline
        greedyvegan @jlward73
        last edited by Feb 28, 2024, 1:59 PM

        @jlward73 said in MMM-CalendarExt3 color formatting:

        So I figured out what the problem was, and it was much simpler than I suspected. When I ran npm run config:check, it made me change many of my quotation marks to “correct” the syntax.

        whenever I run con fig check, it just says syntax error and I gotta figure what the issue is and it’s usually a missing comma.

        What do I have to do to get config check to diagnose the exact issue?

        S 1 Reply Last reply Feb 28, 2024, 2:06 PM Reply Quote 0
        • S Offline
          sdetweil @greedyvegan
          last edited by Feb 28, 2024, 2:06 PM

          @greedyvegan said in MMM-CalendarExt3 color formatting:

          What do I have to do to get config check to diagnose the exact issue?

          config check cannot get any closer…

          it ‘compiles’ the source, and dies when it discovers something incorrect.
          it cannot tell WHY it is incorrect… that is a human thing

          all it can say is ‘here’ is bad. and this is the logical error I encountered. (‘unexpected token’ for example)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Feb 28, 2024, 2:09 PM Reply Quote 0
          • G Offline
            greedyvegan @sdetweil
            last edited by Feb 28, 2024, 2:09 PM

            @sdetweil

            ok, thank you.
            I may have misread what he wrote.

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @jlward73
              last edited by sdetweil Feb 28, 2024, 2:23 PM Feb 28, 2024, 2:23 PM

              @jlward73 many times the content pasted into the forum does not use a code wrapper.

              when this happens, the content is assumed to be word processing ( ms word or like), and the double and single quotes are changed to match (curved)
              zoom in on these two sets of quotes
              ’
              "

              "'
              

              JavaScript uses text mode, (quotes are vertical not curved) and freaks out when encountering the word processing quotes, as they don’t match anything expected.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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