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.
    • S Offline
      sdetweil @Manu85
      last edited by

      @Manu85 yes, that means only apps INSIDE the same machine can connect

      change

      address:"localhost",  // means only inside same machine
      

      to

      address:"0.0.0.0",  // alows any device on any network this machine is connected to to connect
      

      then also the whitelist

      comment out the current line

      // ipWhitelist: [ 127.....
      

      and add a new line

         ipWhitelist:[],  // don't filter any connecting client addresses
      

      then restart mm…
      if you know the ip address of the pi (and u had to use it for vnc)
      then open a tab on you pc browser and do

      http://MM_ip_address????:8080
      

      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 ok it’s done and it’s actually much better

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

          @sdetweil by doing ctrl shift i my window opened like this

          a17db184-a179-47b4-a584-27f667f11577-image.png

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

            @Manu85 yes, it just has the developers window docked on the bottom…

            helps when trying to do layout… nothing changes

            if you want it docked on the right, use the … menu top right of the dev window and change it…

            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
              when I position myself on a weather icon, it gives this, I cannot choose several I have a “grid” which follows the mouse and which changes when I move

              25dba6e0-b76b-4971-85bf-1db193f140d1-image.png

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

                @Manu85 yes, you have to drag the windows around/resize them in the developers window

                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 like that ?

                  54d16384-db6b-4456-ac6f-8e41a3e2e114-image.png

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

                    @Manu85 yes, very good…

                    now, up two lines is the module entry in the content,
                    and you can see that the extra class name has been added
                    (in pink)
                    mm2.png

                    so, in custom.css

                    .current  xxx
                    

                    will target (select) content in that element tree

                    if you move down to one of the spans of the content
                    in green, and expand that , you will see the icon line,
                    if you select that in the next pane to the right you will see where the info comes from
                    mm2.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
                      I do what you tell me, but I must admit that I’m lost :-) I actually saw the “current” in the lines so that means that the icon is in the custom css, it’s that right? if so why can’t I manage it? you are too strong

                      cea5c83f-c7c4-4d90-9051-606f3df0a6dd-image.png

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

                        @Manu85 so close…

                        you have to click on the element with the icon name

                        here you have to expand the span element (gold box)
                        (the one you expanded below the gold box only has text in it, not an icon)

                        1705516732062-cea5c83f-c7c4-4d90-9051-606f3df0a6dd-image.png

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        M 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 9
                        • 10
                        • 11
                        • 12
                        • 13
                        • 30
                        • 31
                        • 11 / 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