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 formatting help

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 1.2k 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.
    • A Offline
      angeliKITTYx
      last edited by

      So I am trying to get two things to happen:

      1. the end times to not display on my long events
      2. the dots/icons to go away on short events so there’s more room for text

      21ff9f37-bc8a-47a1-9535-b02e073e86ec-image.png

      I have icons off and end times off within both the native calendar module AND CX3 module. I don’t know what to do now!

      		{
      			module: "calendar",
      			header: "Family Calendar",
      			hiddenOnStartup: "true",
      			position: "top_left",
      			config: {
      				broadcastPastEvents: true,
      				displaySymbol: false,
      				showEnd: false,
      				fetchInterval: 300000,
      				calendars: [
      					{
      						url: "https://.ics",
      						name: "family_cal",
      						color: "purple"
      					},
      					{
      						url: "https://.ics",
      						name: "alecwork_cal",
      						color: "gray"
      					},
      					{
      						url: "https://.ics",
      						name: "alec_cal",
      						color: "blue"
      					},
      					{
      						url: "https://.ics",
      						name: "days_off",
      						color: "black"
      					}
      
      				]
      			}
      		},
      {
      			module: "MMM-CalendarExt3",
      			position: "bottom_bar",
      				config: {
      					mode: "week",
      					useSymbol: false,
      					showMore: true,
      					refreshInterval: "305000",
      					weekIndex: "0",
      					instanceId: "basicCalendar",
      					fontSize: "22px",
      					maxEventLines: 5,
      					firstDayOfWeek: 7,
      					calendarSet: ['family_cal', 'alecwork_cal', 'alec_cal', 'days_off'],
        }
      },
      
      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @angeliKITTYx
        last edited by MMRIZE

        @angeliKITTYx

        /* in your module config in config.js */
        ...
        useSymbol: false,
        ...
        
        /* custom.css */
        .CX3 .event.multiday:not(.continueToNextWeek) .headline .endTime {
          display: none;
        }
        
        .CX3 .event.singleday .headline:not(.useSymbol)::before,
        .CX3 .event.singleday .headline.useSymbol .symbol.noSymbol::before {
          display: none;
        }
        

        6dd4a77c-636c-46ce-9979-85595aac709b-image.png

        By the way, 1080w is too narrow for this kind of view… (with 0 margin, 1080px / 7 = 154px => only for 10~20 chars could be displayed in one cell.)

        A 2 Replies Last reply Reply Quote 0
        • A Offline
          angeliKITTYx @MMRIZE
          last edited by

          @MMRIZE I haven’t done anything with custom css. Do I make a copy of the sample file and just add this text in? I tried doing that to alter the cell heights but nothing I changed did anything.

          M 1 Reply Last reply Reply Quote 0
          • A Offline
            angeliKITTYx @MMRIZE
            last edited by

            @MMRIZE I also already have

            …
            useSymbol: false,
            …
            

            in my config file. I have the command for both default calendar and CX3.

            And I know it’s very narrow - which is why I’m trying to maximize the space for the text and remove the symbol. I’m just not sure how to get the css file working.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @angeliKITTYx
              last edited by MMRIZE

              @angeliKITTYx
              Rename custom.css.example to custom.css then add my above codes into it.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                angeliKITTYx @MMRIZE
                last edited by

                @MMRIZE that worked! weird - the css the module author offered didn’t work.

                Thanks!
                Is there an easy way to make the font color match the calendar color? Right now all my timed events are written white for every calendar. I didn’t realize the calendar color setting only applied to “all day” events and the symbols.

                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  MMRIZE @angeliKITTYx
                  last edited by

                  @angeliKITTYx
                  https://github.com/MMRIZE/MMM-CalendarExt3/discussions/124#discussioncomment-7950060
                  See #6 answer.

                  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