Read the statement by Michael Teeuw here.
Calendar and Icons
-
Hi again,
below is a brief part of my config.js. A few days ago this was working fine, however now it no longer shows the icon/symbol in the default calendar.
Note there is also configuration for colors which does work.
{ module: "calendar", header: "FamCal", position: "top_left", config: { displaySymbol: true, customEvents: [ {keyword: "Swimming", symbol: "swimmer"},it does however show the icon in the MMM-Calendarext3

-
https://fontawesome.com/search?q=swimming &o=r
I don’t see a ‘swimming’ icon, I do see
‘person-swimming’
is cx3 using a different icon lib is it’s css ?
-
Not sure I understand the question. I know from the github page it talks about EX3 taking information from the default calendar.
Have just tried person-swimming, but still gives same results.
-
@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-" + swhat 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? -
@MMRIZE Yes, although I have now downgraded to 2.21.0. Still experiencing the same issue.
-
@bicolorbore586
In my test on 2.21,
swimming,person-swimming,swimmershowed the right result. It is very interesting why yours is not.
-
@MMRIZE If I change / add fas fa-fw fa-symbol name, that appears to have resolved the issue.

-
@MMRIZE 22-develop is the name of the upcoming release develop branch in package json
so main is 2.21.0
develop is 2.22-develop -
@bicolorbore586 I checked 19, 20,21…
the extra classes are added under the covers… hard coded
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login