MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Hiding temp from the default currentweather.js module

    Development
    2
    6
    2007
    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.
    • rcollie
      rcollie last edited by yawns

      Hey gang

      I’ve been banging my head against a wall here. I’ve been trying to get rid of (or at least hide) the current outdoor temp from the default currentweather.js module. I’m still relatively new to java so there’s a point where I go cross-eyed when it comes to something more complex like this one.

      In the end, I want to either add it to the left of the temp in the forecast.io module made by @dmcinnes, or stick it above it.

      I can’t figure out which sections go with which item. Would someone take pity on me and help me understand the breaks in the sections?

      For sake of ease, here’s the guts of the file.
      modedit: code removed to avoid irritating other users

      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @rcollie last edited by

        @rcollie said in Hiding temp from the default currentweather.js module:

        I’ve been trying to get rid of (or at least hide) the current outdoor temp from the default currentweather.js module.

        By adding this to your custom.css file:

        .currentweather .bright {
        	display:none;
        }
        

        You’ll get this:
        0_1503850726575_1qa.JPG

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • rcollie
          rcollie last edited by

          Thanks @Mykie1. What would I do to also remove the weather icon?

          Mykle1 1 Reply Last reply Reply Quote 1
          • Mykle1
            Mykle1 Project Sponsor Module Developer @rcollie last edited by

            @rcollie said in Hiding temp from the default currentweather.js module:

            Thanks @Mykie1. What would I do to also remove the weather icon?

            You’re welcome!

            I can’t test it at the moment but you can try this in your custom.css:

            .currentweather .wi weathericon {
            	display:none;
            }
            

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • rcollie
              rcollie last edited by

              You’re a legend. Thanks

              Mykle1 1 Reply Last reply Reply Quote 2
              • Mykle1
                Mykle1 Project Sponsor Module Developer @rcollie last edited by

                @rcollie said in Hiding temp from the default currentweather.js module:

                You’re a legend

                In my own mind. :^')

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy