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

MMM-Multimonth

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 3 Posters 2.4k Views 3 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.
  • S Offline
    sdetweil @BKeyport
    last edited by Jun 27, 2021, 11:21 PM

    @bkeyport actually above, I see it highlighting the 26th, but text says 27th in both cases…

    in the previous it was only one side that was wrong… now both are

    looking at the code now

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil @BKeyport
      last edited by Jun 27, 2021, 11:39 PM

      @bkeyport the only code that sets the highlighting is
      starting at line 82

      so, I would change the css to unique colors for the 3 lines, (2 have different classes but same color)

      								if (currentWeekday.day() == 0 || currentWeekday.day() == 6) {
      									output += "<div class='current_day_weekend'>" + currentWeekday.format("D") + "</div>";
      								} else {
      									output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
      								}
      							} else {
      								output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
      
      								if (currentWeekday.day() == 0 || currentWeekday.day() == 6) {
      									output += "<div class='current_day_weekend'>" + currentWeekday.format("D") + "</div>";
      								} else {
      									output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
      								}
      							} else {
      								output += "<div class='current_day'>" + currentWeekday.format("D") + "</div>";
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • 1
      • 2
      • 2 / 2
      2 / 2
      • First post
        11/12
        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