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

Throwing down the gauntlet

Scheduled Pinned Locked Moved Troubleshooting
85 Posts 11 Posters 90.8k Views 11 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
    strawberry 3.141 Project Sponsor Module Developer
    last edited by Feb 17, 2017, 10:22 AM

    if someone wants to achieve the same, actually there is the module wunderground twice (center and right), but once the forecast and the other time the current weather is hidden

    .region.top.center .MMM-WunderGround table.small, //selector for forecast
    .region.top.right .MMM-WunderGround table:not(.small), //selector for current weather
    .region.top.right .MMM-WunderGround table.small td:nth-child(6) { //selector for rain amount
      display:none;
    }
    

    Please create a github issue if you need help, so I can keep track

    M L 2 Replies Last reply Feb 17, 2017, 12:14 PM Reply Quote 4
    • M Offline
      Mykle1 Project Sponsor Module Developer @strawberry 3.141
      last edited by Feb 17, 2017, 12:14 PM

      @strawberry-3.141 said in Throwing down the gauntlet:

      if someone wants to achieve the same, actually there is the module wunderground twice (center and right), but once the forecast and the other time the current weather is hidden

      The dude makes it sound so simple.

      You’re awesome! Take the day off. I promise, I won’t post any questions today. :smiley:

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 1
      • L Offline
        lolobyte @strawberry 3.141
        last edited by Feb 19, 2017, 6:13 PM

        @strawberry-3.141

        Hi, @strawberry-3-141 , i’m missing something in your code.

        Where is the second curved bracket? Is somewhere more code?

        S 1 Reply Last reply Feb 19, 2017, 6:41 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @lolobyte
          last edited by Feb 19, 2017, 6:41 PM

          @lolobyte no that’s all, you can combine selectors with a comma. the open bracket is in line 3 and the closing bracket in line 5

          it’s the short form for

          .region.top.center .MMM-WunderGround table.small {
            display:none;
          }
          .region.top.right .MMM-WunderGround table:not(.small) {
            display:none;
          }
          .region.top.right .MMM-WunderGround table.small td:nth-child(6) {
            display:none;
          }
          

          Please create a github issue if you need help, so I can keep track

          L J 2 Replies Last reply Feb 19, 2017, 6:51 PM Reply Quote 0
          • L Offline
            lolobyte @strawberry 3.141
            last edited by Feb 19, 2017, 6:51 PM

            @strawberry-3.141

            … and all for custom css i think!

            1 Reply Last reply Reply Quote 0
            • J Offline
              jproehl
              last edited by Feb 24, 2017, 4:32 AM

              Hi:

              Newbie here: I really like the design layout you’ve come up with - Kudos! However, can’t make heads or tails out of exactly what code I put where? Are the lines you list placed in config.js or in custom.css? If possible, can you post the part of your config.js and/or custom.css files (with appid and any other personal info erased, of course) that gives this display?

              Thanks!
              jproehl

              S M 2 Replies Last reply Feb 24, 2017, 9:20 AM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @jproehl
                last edited by Feb 24, 2017, 9:20 AM

                @jproehl all I posted here goes into the custom.css file

                Please create a github issue if you need help, so I can keep track

                J 1 Reply Last reply Feb 24, 2017, 6:05 PM Reply Quote 0
                • J Offline
                  jproehl @strawberry 3.141
                  last edited by Feb 24, 2017, 6:05 PM

                  @strawberry-3.141 What do you put into your config.js file?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @jproehl
                    last edited by Feb 24, 2017, 8:34 PM

                    @jproehl said in Throwing down the gauntlet:

                    I really like the design layout you’ve come up with - Kudos!

                    Thanks! It’s just how I pictured it, but it only happened through the goodwill of Strawberry 3.141

                    Create a working config
                    How to add modules

                    J 1 Reply Last reply Feb 24, 2017, 8:46 PM Reply Quote 0
                    • J Offline
                      jproehl @Mykle1
                      last edited by jproehl Feb 24, 2017, 8:47 PM Feb 24, 2017, 8:46 PM

                      @Mykle1 and/or @strawberry-3.141: I’m still having problems getting things to look like Mykle’s. If I just put those 9 lines in my custom.css file and have no reference to the MMM-WunderGround module in my config.js file, I get nothing displayed for my weather info. Does this mean that the custom.css file isn’t being read? Do I have to place my custom.css file somewhere other than pi/MagicMirror/css/?

                      When I add references to the MMM-WunderGround module in config.js, I get the weather info, but I do not get the format you have. Presumably the parameters set in the module reference override the custom.css info in some way.

                      That’s why I was wondering what you have in your config.js file to initiate the MMM-WunderGround module.

                      M 1 Reply Last reply Feb 24, 2017, 8:54 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 8
                      • 9
                      • 1 / 9
                      1 / 9
                      • First post
                        8/85
                        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