• 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.0m 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.
  • S Offline
    sdetweil @Manu85
    last edited by sdetweil Jan 29, 2024, 4:20 PM Jan 29, 2024, 4:20 PM

    @Manu85 so you put that into custom.css and hit refresh(f5) on the dev window to see the results

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Jan 29, 2024, 4:22 PM Reply Quote 0
    • M Offline
      Manu85 @sdetweil
      last edited by Jan 29, 2024, 4:22 PM

      @sdetweil I hope I expressed myself well, I want to enlarge the weather icons for each day of the week

      S 1 Reply Last reply Jan 29, 2024, 4:51 PM Reply Quote 0
      • S Offline
        sdetweil @Manu85
        last edited by sdetweil Jan 29, 2024, 4:51 PM Jan 29, 2024, 4:51 PM

        @Manu85 yes each icon uses the same weather-icon class. not just one

        try it

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Jan 29, 2024, 4:58 PM Reply Quote 0
        • M Offline
          Manu85 @sdetweil
          last edited by Jan 29, 2024, 4:58 PM

          @sdetweil I put this in custom.css?

          .weather .weather-icon img {
          
            }
          
          S 1 Reply Last reply Jan 29, 2024, 5:01 PM Reply Quote 0
          • S Offline
            sdetweil @Manu85
            last edited by Jan 29, 2024, 5:01 PM

            @Manu85 AND the sizing stuff u created n the developer console upper right window inside the braces, copy/paste

            swipe them with the mouse, copy

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Jan 29, 2024, 5:22 PM Reply Quote 0
            • M Offline
              Manu85 @sdetweil
              last edited by Jan 29, 2024, 5:22 PM

              @sdetweil I copied this line because it’s the one that enlarges the icon in the console, I put that in css.custom and it’s still the same

              .weather .weather-icon img {
                 max-width: 64px;
                }
              

              default is 44px
              when I refresh the console page and I select the icon I don’t have any additional css.custom lines, I don’t know if my explanation is clear

              S 1 Reply Last reply Jan 29, 2024, 5:47 PM Reply Quote 0
              • S Offline
                sdetweil @Manu85
                last edited by Jan 29, 2024, 5:47 PM

                @Manu85 should be a strike thru on the 44px

                did u save the custom.css?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Jan 29, 2024, 6:02 PM Reply Quote 0
                • M Offline
                  Manu85 @sdetweil
                  last edited by Jan 29, 2024, 6:02 PM

                  @sdetweil yes, I saved the custom and when I type 64px instead of 44px I see the icon growing, but that doesn’t change anything and in the console window it’s always the same data

                  6839169f-40d3-4cdc-b215-cb2a3c7dd902-image.png

                  S 1 Reply Last reply Jan 29, 2024, 6:45 PM Reply Quote 0
                  • S Offline
                    sdetweil @Manu85
                    last edited by Jan 29, 2024, 6:45 PM

                    @Manu85 ok hang on. I’ll get my laptop …

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 1 Reply Last reply Jan 29, 2024, 7:25 PM Reply Quote 0
                    • M Offline
                      Manu85 @sdetweil
                      last edited by Jan 29, 2024, 7:25 PM

                      @sdetweil OK thanks

                      S 1 Reply Last reply Jan 29, 2024, 7:59 PM Reply Quote 0
                      • 1
                      • 2
                      • 26
                      • 27
                      • 28
                      • 29
                      • 30
                      • 31
                      • 28 / 31
                      28 / 31
                      • First post
                        277/301
                        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