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

Hide ExtraInfoWeather of default currentweather module

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 1.8k Views 2 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
    rodofrn
    last edited by Aug 2, 2017, 3:23 PM

    Hello guys, I have tried really hard to hide the ExtraInfo on the top of the currentweather module (seen below). I was able to hide some of it using the “show: false” parameters (only hides “pm” and “SE”), but I cannot effectively HIDE the entire thing.
    This is in the .js file and I assume it is what gives the module this info:

    // add extra information of current weather
    	// windDirection, humidity, sunrise and sunset
    	addExtraInfoWeather: function(wrapper) {
    

    I want to be able to HIDE the entire top info, and have the cloud icon and the temp take its place (like shift up) Does anybody have any idea how to accomplish this?

    alt text Picture for reference!

    J 1 Reply Last reply Aug 2, 2017, 6:53 PM Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @rodofrn
      last edited by j.e.f.f Aug 2, 2017, 6:54 PM Aug 2, 2017, 6:53 PM

      @rodofrn As far as I know, there isn’t a configuration to remove it. But it’s possible through CSS. try adding this to your custom CSS file:

      .module.currentweather .module-content div.normal.medium {
        display: none;
      }
      

      The down side to doing this is that if there is another div in the currentweather module with the classes normal medium it will also be hidden. This worked for me, but I don’t know this module well enough to know that it won’t end up hiding something else.

      Alternatively, you can try my weather module. I forked MMM-WunderGround specifically so I could toggle this section off via the config (as well as other pieces). Give it a go if you want: https://github.com/jclarke0000/MMM-MyWeather

      1 Reply Last reply Reply Quote 0
      • R Offline
        rodofrn
        last edited by Aug 2, 2017, 7:02 PM

        @j-e-f-f That DEFINITELY worked! Thanks mate. I just wanted a really nice and clean weather module. I will definitely check yours out. THANKS!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          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