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.6m 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

      @Manu85 see this post where someone needed a custom css class setting

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

      and your custom.css would have been

      .calendar .fa-trash-o { 
      ...
      }
      

      right?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85 @sdetweil
        last edited by

        @sdetweil I just did like that but still nothing I have the impression that the symbol in my js.config is not known

        {
        symbol: 'trash-o',
        url: 'webcal://p59-caldav.icloud.com/published/2/Mjc4MDY5NzE3Mjc4MDY5N_JWXRaX8nNLZE61rkC12xxxxxxxxxxxxxxxxxx'
        },
        

        and all other symbols are ok

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Manu85
          last edited by

          @Manu85 use

           "fa-trash-o"
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            Manu85 @sdetweil
            last edited by

            @sdetweil does not work

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Manu85
              last edited by

              @Manu85 in the developers window what do you see in the html and console tab view , 401, 404

              in console tab, put weath in the filter field

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                Manu85 @sdetweil
                last edited by

                @sdetweil is this what is needed?

                dc591d8d-acef-4561-9d91-472f64d6960b-image.png

                df01a36b-94b1-44ed-9173-17afdbd4e625-image.png

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Manu85
                  last edited by

                  @Manu85 no… you are looking at weather, not calendar for the trash icon

                  need the line in calendar where it SHOULD BE

                  sorry, in console should be calen for filter… oops

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85 @sdetweil
                    last edited by

                    @sdetweil ok, like this I selected the line where the icon should appear, is it ok? for the selection that you asked me I was surprised to select the calendar, but you are the professional :-)

                    e31f6056-e3a9-4195-8b94-4721d53882fe-image.png

                    62445f00-3739-4e2c-98a3-75c34a33806f-image.png

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      Manu85 @Manu85
                      last edited by

                      @Manu85 said in Changing icons of the modules Current Weather and Weather Forecast:

                      @sdetweil ok, like this I selected the line where the icon should appear, is it ok? for the selection that you asked me I was surprised to select the weather, but you are the professional :-)

                      e31f6056-e3a9-4195-8b94-4721d53882fe-image.png

                      62445f00-3739-4e2c-98a3-75c34a33806f-image.png

                      S 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Manu85
                        last edited by

                        @Manu85 fa-trash-o is wrong, added fa- again

                        and you did not put
                        calen
                        in the console tab filter field to get just messages from calendar module

                        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 @Manu85
                          last edited by sdetweil

                          @Manu85 they have renamed it to trash-can in fa 6 which we ship now
                          also it is in the fa-solid connection

                          so you may need

                          "fa-solid trash-can"
                          

                          and maybe

                          "fa-solid fa-trash-can"
                          

                          Screenshot 2024-01-27 10.51.23 AM.png

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            Manu85 @sdetweil
                            last edited by

                            @sdetweil you are too strong!!! now I will try to understand the weather temperature

                            9be6b4a4-d7ef-4616-8693-37807cf83279-image.png

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @Manu85
                              last edited by

                              @Manu85 which symbol string did you use?

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              M 1 Reply Last reply Reply Quote 0
                              • M Offline
                                Manu85 @sdetweil
                                last edited by

                                @sdetweil in config.js

                                symbol: 'trash-can',
                                
                                

                                in custom css

                                .fas.fa-trash-can
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @Manu85
                                  last edited by

                                  @Manu85 thanks. might help others

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  M 1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Manu85 @sdetweil
                                    last edited by

                                    @sdetweil do you thank me? I dream it’s you who teaches me hundreds of things…
                                    on the other hand I can’t understand the temperature in config.js I added

                                    tempUnits: "C",
                                    

                                    but that doesn’t change anything it’s still 282°

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @Manu85
                                      last edited by sdetweil

                                      @Manu85 I think that is supposed to be

                                       "metric"
                                      

                                      this is the doc for the default settings

                                      Screenshot_20240127_153619_Chrome.jpg

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      M 2 Replies Last reply Reply Quote 0
                                      • M Offline
                                        Manu85 @sdetweil
                                        last edited by

                                        @sdetweil my config.js is already like this!

                                        language: "fr",
                                        	timeFormat: 24,
                                        	units: "metric",
                                        	units: "kmh",
                                        	tempUnit: "C",
                                        
                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @Manu85
                                          last edited by

                                          @Manu85 the doc says

                                          tempUnits What units to use for temperature. If not specified, the module uses the units value from config.js.

                                          Possible values: config.units = Specified by config.js, metric = Celsius, imperial = Fahrenheit
                                          Default value: config.units

                                          same choices… metric or imperial (not C)

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Manu85 @sdetweil
                                            last edited by sdetweil

                                            @sdetweil
                                            you are right (as usual) I put units:

                                            "metric",
                                            

                                            in config.js of the module and it works, you are the best

                                            S 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 13 / 16
                                            • 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