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 full color for timed events

    Scheduled Pinned Locked Moved Custom CSS
    13 Posts 2 Posters 77 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.
    • S Offline
      sdetweil @Jk1
      last edited by

      @Jk1 try

      .CX3 .headline {
        color: var(--calendarColor);
      }
      

      from here
      https://github.com/MMRIZE/MMM-CalendarExt3#styling-with-css

      Screenshot at 2026-06-26 13-12-07.png

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        Jk1 @sdetweil
        last edited by

        @sdetweil That didn’t work either. Here’s my custom.css file… maybe something sticks out to you?

        I appreciate the help.

        custom.css

        .normal,
        .dimmed,
        header,
        body {
          color: #fff;
        }
        
        
        .CX3 .headline {
          color: var(--calendarColor);
        }
        
        /* set text color to match color for the calendar list */
        .CX3 .event:not(.fullday) .headline .title {
          color: var(--calendarColor);
        }
        
        
        /* Remove the colored dot marker completely in CalendarExt3 */
        .CX3 .event.singleday .headline:not(.useSymbol)::before, 
        .CX3 .event.singleday .headline.useSymbol .symbol.noSymbol::before { 
          display: none !important; 
        }
        
        /* Optional: Clean up spacing if the headline text looks cut off */
        .CX3 .event .headline {
          padding-left: 0px !important;
          margin-left: 0px !important;
        }
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Jk1
          last edited by sdetweil

          @Jk1 css works top of the file down

          So you set it, then changed it

          It works on my Ext3

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            Jk1 @sdetweil
            last edited by

            @sdetweil i’m probably missing something…

            I removed all of the other .CX3 entries and left this.

            .normal,
            .dimmed,
            header,
            body {
              color: #fff;
            }
            
            .CX3 .headline {
              color: var(--calendarColor);
            }
            

            and this is what it shows.

            d1d5b2e8-6331-4582-a6d2-c0d75d887c59-image.jpeg

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Jk1
              last edited by

              @Jk1
              ok, tried again

              .CX3 .event .headline {
                color: green;
              }
              
              

              imageScreenshot at 2026-06-26 16-20-23.png

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                Jk1 @sdetweil
                last edited by

                @sdetweil right the Juneteenth is a full day event (holiday) so it has a colored background. But your timed event on the 4th is just colored text. I am able to make it do that too.

                BUT what I want is the timed event, “Grandpa sam…” to also have a colored background like “Juneteenth” ( but of course a different color since it’s not a holiday).

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Jk1
                  last edited by

                  @Jk1 yeh, css has this other core idea,
                  The selector that is MOST specific wins, regardless which was defined last

                  So, if you target a big blob, and another targets THAT big blob, the second one wins.

                  If you look at the css file provided by the module (same folder) you will see how it targets different elements

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jk1 @sdetweil
                    last edited by sdetweil

                    @sdetweil YES! That helped me find the missing piece.

                    I needed this to set the header color

                    background-color: var(--calendarColor);
                    

                    Now I just need to figure out how to set all the text to black.

                    Thanks for your help! Very much appreciated.

                    a5e1d430-fcb9-4e66-9529-d585e052aca9-image.jpeg

                    S 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Jk1
                      last edited by

                      @Jk1 said:

                      Now I just need to figure out how to set all the text to black.

                      check the module doc and css for the ‘opposing color’ I think he calls it…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Jk1
                        last edited by

                        @Jk1 said:

                        I needed this to set the header color

                        yes, I thought you were talking about text color, not background…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0

                        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