• 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.

Changing icons of the modules Current Weather and Weather Forecast

Scheduled Pinned Locked Moved Development
301 Posts 30 Posters 1.3m Views 33 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.
  • G Offline
    Genosphere @Wenike
    last edited by Aug 27, 2020, 12:07 PM

    @Wenike Perfect fix! Well it does what it needs to anyway. haha

    Skol!

    1 Reply Last reply Reply Quote 1
    • P Offline
      PhilReis @santiago5
      last edited by Aug 31, 2020, 9:48 AM

      hello @santiago5 @trividar can you send me a link from the icon, which you want to implemented?

      T 1 Reply Last reply Aug 31, 2020, 10:11 AM Reply Quote 0
      • T Offline
        trividar @PhilReis
        last edited by Aug 31, 2020, 10:11 AM

        @PhilReis I wrote you a direct message.

        1 Reply Last reply Reply Quote 0
        • M Offline
          manu85340
          last edited by Jan 13, 2024, 2:21 PM

          Hello everyone, I put a message on this forum and I hope it is still active… I am trying to change the icons of the original weather module and it does not work, I created an “icons” file "in the css folder I made a git clone of the link address for the animated modules, I copied the lines in the custom.css file and despite all this the icons on the mirror remain identical, if you could Helping me would be really nice, thank you

          S 1 Reply Last reply Jan 13, 2024, 2:36 PM Reply Quote 0
          • S Offline
            sdetweil @manu85340
            last edited by Jan 13, 2024, 2:36 PM

            @manu85340 can u show us the stuff you added in custom.css

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              manu85340
              last edited by sdetweil Jan 15, 2024, 4:47 PM Jan 14, 2024, 10:39 AM

              Hello @sdetweil and thank you for your response, I follow the lines that I added in the custom folder, I also have the impression that the icon download is not I did a git pull https ://www.amcharts.com/free-animated-svg-weather-icons/
              and I put this in the custom:

              /* Aenderungen Wetter Icon */
              /* Aenderungen aktuelles Wetter */
              
              .currentweather .weathericon {
                position: absolute;
                z-index: 0;
                height: 200px;
                right: 180px;
                margin-top: -65px;
              }
              
              .currentweather .wi-day-sunny {
              content: url("/css/icons/day.svg");
              }
              
              .currentweather .wi-day-cloudy {
              content: url("/css/icons/cloudy-day-1.svg");
              }
              
              .currentweather .wi-rain {
              content: url("/css/icons/rainy-6.svg");
              }
              
              .currentweather .wi-night-clear {
              content: url("/css/icons/night.svg");
              }
              
              .currentweather .wi-night-cloudy {
              content: url("/css/icons/cloudy-night-2.svg");
              padding-right: 15px;
              padding-top: 10px;
              }
              
              .currentweather .wi-cloudy {
              content: url("/css/icons/cloudy.svg");
              }
              
              .currentweather .wi-showers {
              content: url("/css/icons/rainy-7.svg");
              }
              
              .currentweather .wi-thunderstorm {
              content: url("/css/icons/thunder.svg");
              }
              
              .currentweather .wi-snow {
              content: url("/css/icons/snowy-6.svg");
              }
              
              .currentweather .wi-cloudy-windy {
              content: url("/css/icons/cloudy-day-3.svg");
              }
              
              .currentweather .wi-night-rain {
              content: url("/css/icons/rainy-6.svg");
              }
              
              .currentweather .wi-night-snow {
              content: url("/css/icons/snowy-6.svg");
              }
              
              .currentweather .wi-night-thunderstorm {
              content: url("/css/icons/thunder.svg");
              }
              
              .currentweather .wi-night-showers {
              content: url("/css/icons/rainy-7.svg");
              }
              
              .currentweather .wi-fog {
              content: url("/css/icons/cloudy.svg");
              }
              
              .currentweather .wi-night-alt-cloudy-windy {
              content: url("/css/icons/cloudy-night-1.svg");
              }
              
              /* Aenderungen Wettervorhersage */
              
              .weatherforecast .weathericon {
                position: absolute;
                left: 35px;
                z-index: 1;
                margin-top: -30px;
                height: 60px;
              }
              
              .weatherforecast .wi-day-sunny {
              content: url("/css/icons/day.svg");
              padding-left: 6px;
              padding-top: 5px;
              height: 50px;
              }
              
              .weatherforecast .wi-day-cloudy {
              content: url("/css/icons/cloudy-day-1.svg");
              }
              
              .weatherforecast .wi-rain {
              content: url("/css/icons/rainy-6.svg");
              padding-left: 8px;
              padding-top: 5px;
              height: 45px;
              }
              
              .weatherforecast .wi-night-clear {
              content: url("/css/icons/night.svg");
              }
              
              .weatherforecast .wi-night-cloudy {
              content: url("/css/icons/cloudy-night-2.svg");
              height: 50px;
              padding-left: 5px;
              padding-top: 7px;
              }
              
              .weatherforecast .wi-cloudy {
              content: url("/css/icons/cloudy.svg");
              }
              
              .weatherforecast .wi-showers {
              content: url("/css/icons/rainy-7.svg");
              }
              
              .weatherforecast .wi-thunderstorm {
              content: url("/css/icons/thunder.svg");
              }
              
              .weatherforecast .wi-snow {
              content: url("/css/icons/snowy-6.svg");
              }
              
              .weatherforecast .wi-cloudy-windy {
              content: url("/css/icons/cloudy-day-3.svg");
              height: 45px;
              padding-left: 8px;
              padding-top: 7px;
              }
              
              .weatherforecast .wi-night-rain {
              content: url("/css/icons/rainy-6.svg");
              padding-left: 8px;
              padding-top: 5px;
              height: 45px;
              }
              
              .weatherforecast .wi-night-snow {
              content: url("/css/icons/snowy-6.svg");
              }
              
              .weatherforecast .wi-night-thunderstorm {
              content: url("/css/icons/thunder.svg");
              }
              
              .weatherforecast .wi-night-showers {
              content: url("/css/icons/rainy-7.svg");
              }
              
              .weatherforecast .wi-fog {
              content: url("/css/icons/cloudy.svg");
              }
              
              .weatherforecast .wi-night-alt-cloudy-windy {
              content: url("/css/icons/cloudy-night-1.svg");
              height: 50px;
              padding-left: 5px;
              padding-top: 7px;
              }
              
              S 1 Reply Last reply Jan 14, 2024, 7:53 PM Reply Quote 0
              • M Offline
                manu85340
                last edited by Jan 14, 2024, 6:56 PM

                Sorry si not a « git pull » but a « git clone »

                S 1 Reply Last reply Jan 14, 2024, 7:42 PM Reply Quote 0
                • S Offline
                  sdetweil @manu85340
                  last edited by sdetweil Jan 14, 2024, 7:55 PM Jan 14, 2024, 7:42 PM

                  @manu85340 currentweather and weatherforecast were old modules no longer shipped.

                  so the class prefix won’t work.

                  I’m on my phone now. so it’s slow to figure out what it should be…

                  I would open the developers window and see what the class names used are
                  .see here for how to use the dev window

                  https://forum.magicmirror.builders/post/90135

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @manu85340
                    last edited by sdetweil Jan 14, 2024, 7:54 PM Jan 14, 2024, 7:53 PM

                    @manu85340 change all the
                    . currentweather
                    and
                    . weatherforecast

                    to
                    .weather

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Jan 15, 2024, 4:24 PM Reply Quote 0
                    • M Offline
                      manu85340
                      last edited by Jan 14, 2024, 9:32 PM

                      @sdetweil thank you for your answer, I am in France and with the time difference I will try this tomorrow, thank you for your help

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 30
                      • 31
                      • 7 / 31
                      • First post
                        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