• 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 Away
    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 Away
        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
          • S Away
            sdetweil @Manu85
            last edited by Jan 29, 2024, 7:59 PM

            @Manu85 ok, i think this is what you want

            1. add
            classes:"forecast",
            

            the the weather forecast , after the module:“weather”, line

            1. then add this to custom.css
            .forecast .weathericon {
                font-size: 125%;
            }
            

            you can change the font-size bigger too

            refresh the mm page

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M M 2 Replies Last reply Jan 29, 2024, 9:42 PM Reply Quote 0
            • M Offline
              manu85340 @sdetweil
              last edited by Jan 29, 2024, 9:42 PM

              @sdetweil ok thanks I’ll try that when I get home

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

                @sdetweil I added in js.config

                classes:"forecast",
                

                after the line:

                module: "MMM-OneCallWeather",
                

                then in custom css:

                .forecast .weather-icon {
                     font-size: 125%;
                }
                

                I refreshed but it doesn’t change anything…

                S 2 Replies Last reply Jan 29, 2024, 11:45 PM Reply Quote 0
                • S Away
                  sdetweil @Manu85
                  last edited by sdetweil Jan 30, 2024, 12:03 AM Jan 29, 2024, 11:45 PM

                  @Manu85 sorry, darn using the default calendar again… hang on
                  this TOPIC is about default calendar and weather

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @Manu85
                    last edited by sdetweil Jan 30, 2024, 12:32 AM Jan 30, 2024, 12:31 AM

                    @Manu85 in custom.css

                    .MMM-OneCallWeather .weather-icon  img {
                        max-width: 64px !important;    
                    }
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 2 Replies Last reply Jan 30, 2024, 8:51 AM Reply Quote 0
                    • M Offline
                      Manu85 @sdetweil
                      last edited by Jan 30, 2024, 8:51 AM

                      @sdetweil I’m sorry, it’s my fault, I mixed up the topics…but I didn’t know how to make another topic and let it be you who answers me!
                      I modified the custom and it works, thanks again for that

                      S 1 Reply Last reply Jan 30, 2024, 11:22 AM Reply Quote 0
                      • 1
                      • 2
                      • 27
                      • 28
                      • 29
                      • 30
                      • 31
                      • 29 / 31
                      29 / 31
                      • First post
                        283/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