• 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.

Help with my calendar

Scheduled Pinned Locked Moved Troubleshooting
calendar
5 Posts 2 Posters 1.5k 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 Dec 30, 2018, 5:00 PM

    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 Dec 31, 2018, 10:38 AM Reply Quote 0
    • ? Offline
      A Former User @richardh151
      last edited by Dec 31, 2018, 10:38 AM

      @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 Dec 31, 2018, 2:19 PM Reply Quote 0
      • R Offline
        richardh151 @Guest
        last edited by Dec 31, 2018, 2:19 PM

        @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 Dec 31, 2018, 2:58 PM Reply Quote 0
        • ? Offline
          A Former User @richardh151
          last edited by A Former User Dec 31, 2018, 2:58 PM Dec 31, 2018, 2:58 PM

          @richardh151

          {
            module: "calendar",
            position: "top_left",	
            config: {
              titleReplace: {"Switzerland:" : ""},
              //... other configuration
            }
          },
          
          R 1 Reply Last reply Jan 1, 2019, 7:14 AM Reply Quote 1
          • R Offline
            richardh151 @Guest
            last edited by Jan 1, 2019, 7:14 AM

            @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
            1 / 1
            • First post
              3/5
              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