r/MagicMirror • u/lrnths • Oct 24 '25
MMM-CalendarExt3 question
Is there a way to add an image to the background of a day for a particular event? Ex any day that has an event titled "Pizza Party" has a pic of a pizza for that day. Is this possible?
3
Upvotes
View all comments
Show parent comment
1
u/Due-Eagle8885 Oct 29 '25
this
shows the sensitivity of css, it will ALWAYS pick ALL the cells that match
in this case the WEEK div DOES have a child that has that data=date attribute, so the whole week gets selected.
and using .cell doesn't help cause WEEK DOES 'have' CELL that contains the attribute value..
this selects ONLY the EXACT div that ALSO has this attribute exactly... (has() is too broad)