• 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

Scheduled Pinned Locked Moved Utilities
656 Posts 78 Posters 2.0m Views 82 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 @cricket
    last edited by sdetweil May 8, 2025, 5:18 PM May 8, 2025, 5:08 PM

    @cricket you need to change the – variables he has defined… see the README.md file
    https://github.com/MMRIZE/MMM-CalendarExt3?tab=readme-ov-file#styling-with-css

    from configuration means

    fontSize	'18px'	Default font size of this module.
    eventHeight	'22px'	The height of each event.
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    C 1 Reply Last reply May 8, 2025, 5:53 PM Reply Quote 0
    • C Offline
      cricket @sdetweil
      last edited by May 8, 2025, 5:53 PM

      @sdetweil
      Believe me I have and have looked at it at least times, I simply don’t understand how to achieve what I am asking. I have figured out the font size by what I included above. But I don’t understand how change the size of the day cell/box even if it is empty.

      S 1 Reply Last reply May 8, 2025, 7:01 PM Reply Quote 0
      • S Offline
        sdetweil @cricket
        last edited by May 8, 2025, 7:01 PM

        @cricket so, ‘simple’ way is to add more event lines to the box which will make it taller

        maxeventlines: 10 or whatever

        maxevents*lineHeight = size of box.
        lineHeight = fontsize+4 (in the default config)

        all of the important values are configurable in the module config, so you dont have to mess with css for this

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 3 Replies Last reply May 8, 2025, 7:58 PM Reply Quote 1
        • C Offline
          cricket @sdetweil
          last edited by May 8, 2025, 7:58 PM

          @sdetweil said in MMM-CalendarExt3:

          @cricket so, ‘simple’ way is to add more event lines to the box which will make it taller

          maxeventlines: 10 or whatever

          maxevents*lineHeight = size of box.
          lineHeight = fontsize+4 (in the default config)

          all of the important values are configurable in the module config, so you dont have to mess with css for this

          Thank you very much for this - I will give this a go!

          1 Reply Last reply Reply Quote 0
          • C Offline
            cricket @sdetweil
            last edited by May 8, 2025, 8:18 PM

            @sdetweil
            Outstanding - this did exactly what I was looking for. I also a the appreciate the explanation. I am catching on slowly!

            S 1 Reply Last reply May 8, 2025, 8:50 PM Reply Quote 1
            • C Offline
              cricket @sdetweil
              last edited by May 8, 2025, 8:50 PM

              @sdetweil

              Last thing for me on this - is there a way to move the module down? My screen is portrait and it covers up some top modules. I am trying to move the module down with

              .region.middle.center {
                      top: 50px;
              }
              

              I have experimented with positive and negative numbers with wild results. It pushes the calendar off the screen a the top and only shows about half LOL.

              Should I be modifying this in the module section of the config.js file or in the custom.css file as above. With the right commands of course.

              S 1 Reply Last reply May 8, 2025, 8:52 PM Reply Quote 0
              • S Offline
                sdetweil @cricket
                last edited by May 8, 2025, 8:50 PM

                @cricket awesome!

                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 @cricket
                  last edited by May 8, 2025, 8:52 PM

                  @cricket move,
                  put it on the bottom instead of center

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  C 1 Reply Last reply May 8, 2025, 9:05 PM Reply Quote 0
                  • C Offline
                    cricket @sdetweil
                    last edited by May 8, 2025, 9:05 PM

                    @sdetweil
                    Not sure if this is the “right” way but this worked:

                    .region.middle.center {
                            margin-top: 150px;
                    }
                    

                    Even a blind squirrel… :-).

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      p1lspeda
                      last edited by May 12, 2025, 3:08 PM

                      Hi folks,
                      it’s me again with a (probably) simple solution.
                      After I did a complete fresh install and re-added my custom.css, my Calendar looks a little odd - it triggers my OCD.

                      23981df9-281d-402c-8e15-20da37af75e5-image.png

                      I guess I do not need to explain what is bothering me.
                      Why is the weather info centered on monday ?
                      How do I get CW, Weather and Current Day in 1 single line ?

                      This is my current custom.css for MMM-CalendarExt3

                      .CX3 .cw {
                              color: white;
                      }
                      
                      .CX3 .weekend_2 {
                              color: white;
                      }
                      
                      .CX3 .weekend_1 {
                              color: white;
                      }
                      
                      .CX3 .event {
                              border: none;
                      }
                      
                      .CX3 .cell {
                              border: none;
                              background-color: rgba(255,255,255,0);
                      }
                      
                      .CX3 .cellHeader .cellDate {
                              flex-grow: 0;
                      }
                      
                      .CX3 .cw::before {
                              content: "CW";
                              margin-right: 0px;
                      }
                      

                      Ideas/Tips/Hints are much appreciated.
                      What I do not understand is, that this has changed after I did a fresh install but re-added my backed up custom.css :-/

                      S 2 Replies Last reply May 12, 2025, 3:11 PM Reply Quote 0
                      • 1
                      • 2
                      • 62
                      • 63
                      • 64
                      • 65
                      • 66
                      • 64 / 66
                      64 / 66
                      • First post
                        638/656
                        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