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.

    Help with my calendar

    Scheduled Pinned Locked Moved Troubleshooting
    calendar
    5 Posts 2 Posters 1.9k 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.
    • R Offline
      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.

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @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 Offline
          richardh151 @Guest
          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?

          ? 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @richardh151
            last edited by A Former User

            @richardh151

            {
              module: "calendar",
              position: "top_left",	
              config: {
                titleReplace: {"Switzerland:" : ""},
                //... other configuration
              }
            },
            
            R 1 Reply Last reply Reply Quote 1
            • R Offline
              richardh151 @Guest
              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

              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