Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    Help with my calendar

    Troubleshooting
    calendar
    2
    5
    937
    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.
    • R
      richardh151 last edited by

      Please can someone help me with my calendar. I would like to remove the Country name in my example “Switzerland” from each holiday line before the stated holiday event as I know they are all for Switzerland. (Switzerland:New Years Day) Where can I edit this out? Also I would like to change the font of the date on the right as I looks dimmed and I would like to modify this to white or brighter. Thanks in advance to anyone that can give me the guidance.

      Sean 1 Reply Last reply Reply Quote 0
      • Sean
        Sean Module Developer @richardh151 last edited by

        @richardh151
        You can use titleReplace field in your configuration.
        For modifying font style, use CSS. add this into your css/custom.css

        .calendar .time {
          color:#FFF;
        }
        
        R 1 Reply Last reply Reply Quote 0
        • R
          richardh151 @Sean last edited by

          @sean Firstly the Color change of the date worked, thanks. I’m struggling to edit the titleReplace as
          any change that I do in the titleReplace part within the config.js file does not seem to have an effect or gives me a Config.js file error. Am I editing it in the correct area?

          Sean 1 Reply Last reply Reply Quote 0
          • Sean
            Sean Module Developer @richardh151 last edited by Sean

            @richardh151

            {
              module: "calendar",
              position: "top_left",	
              config: {
                titleReplace: {"Switzerland:" : ""},
                //... other configuration
              }
            },
            
            R 1 Reply Last reply Reply Quote 1
            • R
              richardh151 @Sean last edited by

              @sean Thank you Sean it works, sorry I didn’t fully understand the title replace concept. Happy new year to you.

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy