Read the statement by Michael Teeuw here.
Calendar and Icons
-
@bicolorbore586 can u open the developers window, ctrl-shift-i, and select the console tab, and put cal
in the filter field
to see if there is any error -
Styles loaded for: MMM-CalendarExt3
loader.js:164 Translations loaded for: MMM-CalendarExt3Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
2calendar.js:89 Starting module: calendar
localhost/:1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled. -
@bicolorbore586 that means custom.css doesn’t exist(which means u didn’t use my install script, cause I create it) from a termianl window, do
touch ~/MagicMirror/css/custom.css
-
@sdetweil No longer get the error, but the icon’s still don’t show
-
@bicolorbore586 see this,
https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1666112801067navigate to the calendar entry to see what the element looks like and if symbol is used…
-
@sdetweil
for comparison, using a UK holiday calendar, the default icon is present, but the sleigh for Christmas isn’t
-
@bicolorbore586 interesting…
but they don’t contain the font awesome prefixes
symbol.className = "fas fa-fw fa-" + s
what version of MagicMirror are u on?
see the startup messages or
grep version ~/MagicMirror/package.jsonfor grins change the symbol in custom event entry to
‘fa-swimming’it will probably fail in ext3
-
@sdetweil v 2.22.0-develop
changing to fa-swimming removes the icon from ext3 as you predicted. Still not showing in default calendar either.
-
@bicolorbore586 but if u examine the content again it should say fa-swimming
I just switched to 22 develop and still see the same code
-
@bicolorbore586
2.22.0-develop? not 2.21.0-develop?