MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    monthly-caledar-view special days in a color

    Troubleshooting
    2
    4
    1481
    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
      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
      • yawns
        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
          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(

          yawns 1 Reply Last reply Reply Quote 0
          • yawns
            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy