Read the statement by Michael Teeuw here.
MMM-CalendarExt3Agenda
-
@BKeyport my previous has() should have worked…
let me see how to get empty instance
-
note the CX3A class is NOT added to the module entry
div id="module_4_MMM-CalendarExt3Agenda" class="module **MMM-CalendarExt3Agenda** MMM-CalendarExt3Agenda" style="order: 0;">
but to the bodice entry
<div class="bodice CX3A_undefined CX3A">
so the outer div still took up space
this works,
.MMM-CalendarExt3Agenda:has(.agenda:empty){ /* background-color: red;*/ display: none; }
-
My apologies! I’ll make sure I format correctly going forward.
Not a dumb question at all, that was the first thing I checked. I wish my life would go three days without an event. But I’ve tried setting endDayIndex to 10, eliminating the indexes completely, eliminating the calendarSet, stripping the entire module down to just the header, the position, the waitFetch and refreshInterval, and it’s still blank. The only way I know that there’s something happening is the header is still there. I tried commenting out the other modules and positioning CX3A top left to see if it was a graphics issue but it’s the same empty header. Yet when I fire up all the modules, CX3 weekly is still showing every event perfectly from the first fetch. I’m stumped. And then when I quit out, the terminal shows no issues, and lists all the events that are successfully being broadcasted by each calendar.
-
@FMancuso5 can you try this
https://forum.magicmirror.builders/post/127456 -
@sdetweil Nope. Not working. I give up. Just turning off that mirror completely… will find something else to do my calendar on.
-
@BKeyport can you see it in the developers window style list on the right?
then you can see if its even noticed
i used the color to prove it was being selected,
you could uncomment that and comment out display nonei added a header to make sure there was something to hide
-
i would start w the module name as class
.MMM-CalendarExt3Agenda { bsckground-color: red; }
then i would add the header to the module config
then i would add .agenda to the css selector
and the header should not have the background color
spaces are important. without a space it means an element must have ALL the selector elements itself -
@sdetweil Nothing works, like everything else with MagicMirror. I can’t get what I want due to CSS and it’s stupidity in general.
One less device to maintain. I’ve not decided if I’m gonna abandon my other modules yet or not, but I’m tired of fighting everything opensource in general - and I’m slowly abandoning everything that is that way.
I’m just done…
-
@FMancuso5 Make the max entries 10000. I had a similar problem where I noticed the same, only some calendars would have events. My hypothesis is that the max entries field is the number of calendar entries it will capture for each calendar but not based on today going into the future, but of all time.