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.

    monthly-caledar-view special days in a color

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 1.8k 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.
    • T Offline
      trividar
      last edited by

      Dear all,

      I have installed the monthly-caledar-view from @KirAsh4:

      https://forum.magicmirror.builders/topic/192/monthly-calendar-view

      I would like to color some days. Just say… 12.12.17 the 12 should be red. How can I manage that this day is in red? I would like to make 40 days in a Year that should be red.
      Thanks a lot for any help.

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        Without looking at the code I think it’s safe saying you cannot use CSS to colorize specific days based on the content within this scenario.

        My approach would be to “hack” the module, define your special days in an array and add a css class “specialday” inside the JS code of the module. This CSS class can be defined in custom.css to look whatever you want it to

        1 Reply Last reply Reply Quote 0
        • T Offline
          trividar
          last edited by

          Hi @yawns,

          thanks for your reply. Oookeey that sounds that is it not possible for me to change it because my coding skills are really limited. But I will try it even i think it won’t be possible ;o(

          yawnsY 1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator @trividar
            last edited by

            @trividar
            Nothing is impossible. Give it a try and ask for help if you are stuck

            1 Reply Last reply Reply Quote 1
            • 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