Read the statement by Michael Teeuw here.
Throwing down the gauntlet
-
@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:
-
Hi, @strawberry-3-141 , i’m missing something in your code.
Where is the second curved bracket? Is somewhere more code?
-
@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; }
-
… and all for custom css i think!
-
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 -
@jproehl all I posted here goes into the custom.css file
-
@strawberry-3.141 What do you put into your config.js file?
-
@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
-
@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.
-
@jproehl said in Throwing down the gauntlet:
I’m still having problems getting things to look like Mykle’s.
My design/layout ideas are in high demand. :thumbsup_tone1:
This is my entry in the config. Yes, there are 2 entries. One is for the current weather and one is for the weather forecast, only seperate and in different locations. You still have to enter what Strawberry told you to enter in your custom.css file. Then all should be well.
{ module: 'MMM-WunderGround', position: 'top_center', config: { apikey: 'YOUR API KEY', // private; don't share! pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool currentweather: 1, coloricon: true, hourly: '0', fctext: '1', fcdaycount: "10", fcdaystart: "0", hourlyinterval: "2", hourlycount: "1", animationSpeed: 5000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 0, UseCardinals: 1, layout: "vertical", windunits: "mph", sysstat: "0" } }, { module: 'MMM-WunderGround', position: 'top_right', config: { apikey: 'YOUR API KEY AGAIN', // private; don't share! pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool currentweather: 0, coloricon: true, hourly: '1', fctext: '1', fcdaycount: "10", fcdaystart: "1", hourlyinterval: "2", hourlycount: "1", animationSpeed: 5000, alerttime: 10000, alerttruncatestring: "english:", roundTmpDecs: 0, UseCardinals: 1, layout: "vertical", windunits: "mph", sysstat: "0" } },