Read the statement by Michael Teeuw here.
Family Mirror
-
This looks great! How did you get only the lunch menus to show?
-
@Lmagenis custom CSS:
/* MMM-TitanSchoolMealMenu CSS */ .MMM-TitanSchoolMealMenu { max-width: 500px; } .MMM-TitanSchoolMealMenu .meal-list { margin-block-start: unset; } .MMM-TitanSchoolMealMenu li { font-size: var(--font-size-small); } .MMM-TitanSchoolMealMenu ul { padding-inline-start: 0; } .MMM-TitanSchoolMealMenu .large { color: #f8dd70; line-height: unset; } .MMM-TitanSchoolMealMenu .meal-title, .MMM-TitanSchoolMealMenu .breakfast-description { display: none; }
The last entry is the key to what you’re asking.
-
@Lmagenis Looking again, it appears that my tweak to the module to add the ‘.breakfast-description’ class was never merged. I’m on my own fork of the module:
https://github.com/dathbe/MMM-TitanSchoolMealMenu/tree/combined
(Note that it’s the “combined” branch not the default branch.)
You can see the various tweaks I’ve made to my fork here:
-
@dathbe Thank you! I’m still learning all of this. I appreciate your help!
-
@Lmagenis said in Family Mirror:
This looks great! How did you get only the lunch menus to show?
There is also the ‘hideEmptyMeals’ boolean in the config, which is set to false by default.
Setting that to true, while also setting ‘recipeCategoriesToInclude’ to ‘Lunch’ (or ‘Lunch Entree’ in my case) will not display empty meals.
Example config section:
{ module: "MMM-TitanSchoolMealMenu", position: "bottom_left", header: "Namaqua Elementary menu", config: { size: 'x-small', // Optional: 'small', 'medium', 'large'; Default: 'medium' todayClass: 'x-small', hideEmptyDays: true, hideEmptyMeals: true, buildingId: 'edf06a3e-65f3-ee11-a85d-f8b9c75e31xx', districtId: '931753cd-1e95-ee11-b902-959a1bfff3xx', updateIntervalMs: 3600000, // Optional: Milliseconds between updates; Default: 3600000 (1 hour) numberOfDaysToDisplay: 2, // Optional: 0 - 5; Default: 3 recipeCategoriesToInclude: [ "Lunch Entree", ], debug: false }, },
-
@trnitz Thank you, that’s what mine looks like but it returns everything offered for lunch that day, right down to the condiments.