• 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.

Hiding temp from the default currentweather.js module

Scheduled Pinned Locked Moved Development
6 Posts 2 Posters 3.0k 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.
  • R Offline
    rcollie
    last edited by yawns Aug 29, 2017, 9:31 AM Aug 27, 2017, 4:15 AM

    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

    M 1 Reply Last reply Aug 27, 2017, 4:19 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @rcollie
      last edited by Aug 27, 2017, 4:19 PM

      @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
      • R Offline
        rcollie
        last edited by Aug 28, 2017, 2:30 AM

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

        M 1 Reply Last reply Aug 28, 2017, 2:41 AM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @rcollie
          last edited by Aug 28, 2017, 2:41 AM

          @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
          • R Offline
            rcollie
            last edited by Aug 28, 2017, 3:11 AM

            You’re a legend. Thanks

            M 1 Reply Last reply Aug 28, 2017, 12:10 PM Reply Quote 2
            • M Offline
              Mykle1 Project Sponsor Module Developer @rcollie
              last edited by Aug 28, 2017, 12:10 PM

              @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
              1 / 1
              • First post
                1/6
                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