• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Modules icons

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 1.9k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Quesada
    last edited by Apr 3, 2019, 3:25 PM

    Why i have this “white box” like the icon was not loaded, any help or how to fix it?

    Modules: Current Weather & MMM-SystemStats
    0_1554305056729_mm.png

    I 1 Reply Last reply Apr 3, 2019, 9:27 PM Reply Quote 0
    • I Offline
      ianperrin @Quesada
      last edited by ianperrin Apr 3, 2019, 10:25 PM Apr 3, 2019, 9:27 PM

      @Quesada I’m not sure about the weather module but MMM-SystemStats does not appear to reference font awesome in the MMM-SystemStats.js file

      It should include the getStyles function similar to the following…

      getStyles: function() {
              return ['font-awesome.css'];
          },
      

      If you have just updated your mirror to v2.7 - make sure you run npm install from the MagicMirror directory. This should allow the module to correctly display font awesome 4 and 5 icons

      If you are using v2.6, there was an issue where some Font Awesome icons were not working depending on which modules were in use. Upgrading to v2.7 should resolve this.

      "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jonas2903
        last edited by Apr 5, 2019, 4:01 PM

        Maybe this can help you:
        https://forum.magicmirror.builders/topic/10219/fontawesome-with-mm-2-7-1-not-showing-some-icons

        1 Reply Last reply Reply Quote 0
        • Q Offline
          Quesada
          last edited by Apr 5, 2019, 5:35 PM

          Another solution i found is “updating” font awesome icons from 4 to 5.
          https://forum.magicmirror.builders/topic/8776/update-font-awesome-to-version-5
          but the problem is when i start MagicMirror it takes a long time to load and some modules do not load well.

          I 1 Reply Last reply Apr 5, 2019, 6:55 PM Reply Quote 0
          • I Offline
            ianperrin @Quesada
            last edited by ianperrin Apr 5, 2019, 6:57 PM Apr 5, 2019, 6:55 PM

            @Quesada said in Modules icons:

            Another solution i found is “updating” font awesome icons from 4 to 5.
            https://forum.magicmirror.builders/topic/8776/update-font-awesome-to-version-5
            but the problem is when i start MagicMirror it takes a long time to load and some modules do not load well.

            The method in that post was a way of getting FA5 icons in Magic Mirror before version 2.6. So should not be needed in 2.6 or 2.7.

            If you do use it, you will load multiple versions of font awesome in the same webpage - which is not recommended and can cause unknown issues.

            In 2.7, module developers requiring FA icons should use the getStyles method as per the documentation. MM will take care of ensuring only one link to the fa library is included.

            Unfortunately, 2.6 allowed a module to require fa4 or fa5 resulting in multiple versions of FA on your mirror. This should be fixed in 2.7

            "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              3/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy