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.

    Hiding temp from the default currentweather.js module

    Scheduled Pinned Locked Moved Development
    6 Posts 2 Posters 3.5k Views 3 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.
    • rcollieR Offline
      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

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        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
        • rcollieR Offline
          rcollie
          last edited by

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

          Mykle1M 1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            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
            • rcollieR Offline
              rcollie
              last edited by

              You’re a legend. Thanks

              Mykle1M 1 Reply Last reply Reply Quote 2
              • Mykle1M Offline
                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy