Read the statement by Michael Teeuw here.
Throwing down the gauntlet
-
@Mykle1 ive never touched any of the monthly calendar files until i added your lines above to the end of my mcal.css file and was curious if you had any thoughts as to why your numbers are aligned to the left (when facing monitor) of the abbreviated days and mine are aligned to the right? just curious
-
@strawberry-3.141 the main config file and never touch the config files of each modules folder?
-
@jbeck615 said in Throwing down the gauntlet:
ive never touched any of the monthly calendar files until i added your lines above to the end of my mcal.css file
Those should have been added to your custom.css file within your css folder
and was curious if you had any thoughts as to why your numbers are aligned to the left (when facing monitor) of the abbreviated days and mine are aligned to the right?
Are you talking about WunderGround still? If so, then mine are aligned to the right as well.
-
@jbeck615 said in Throwing down the gauntlet:
the main config file and never touch the config files of each modules folder?
There are no
config
files in each module folder. Anything inside the actual module folder is part of the module and should not be altered. You set up each modules configuration in the config.js file inside your config folder. After that, any customizing of each module should be done in the custom.css file in your css folder.This is the WunderGround entry in my config.js file. The setup of the module.
{ module: 'MMM-WunderGround', // Just for current weather position: 'top_center', config: { apikey: 'YOUR API KEY', // private; don't share! pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool currentweather: 1, coloricon: true, animationSpeed: 5000, roundTmpDecs: 0, UseCardinals: 1, windunits: "mph", // bft or mph } }, { module: 'MMM-WunderGround', // Just for forecast 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" } },
And this is the WunderGround entry in my custom.css file. To customize things like color, icons, position, size, etc…
} .region.top.right .MMM-WunderGround table th { display: none; /* removes icons above max-temp, min-temp and % chance of rain */ } .MMM-WunderGround .max-temp { color: #f66; } .MMM-WunderGround .min-temp { color: #0ff; } .MMM-WunderGround .weather-icon { color: #f93; } .MMM-WunderGround .day { color: #6f6; } .region.top.center .MMM-WunderGround table.small, /* selector for ONLY current weather Thanks to Strawberry-3.141 */ .region.top.right .MMM-WunderGround table:not(.small), /* selector for ONLY weather forecast */ .region.top.right .MMM-WunderGround table.small td:nth-child(6) { display: none; /* this line and line above selector for NO rain amount column */ }
I hope this clears things up for you
-
@Mykle1 sorry i meant to say the js files not the config. i swear im not as dumb as im sounding here! however your clarification did make sense so thank you!
-
@Mykle1 but just to make sure, changes only go in the config.js file in the config folder, dont touch the js files in each of hte modules, and if needed, modify the css files in each module correct? ive just been a bull in a china shop even if most of it is working well. thanks!
-
@jbeck615 said in Throwing down the gauntlet:
changes only go in the config.js file in the config folder
Each module has a ReadMe that describes the config.js
options
. You’re not really changing the config.js file. You’re choosing options that the author has provided, dont touch the js files in each of hte modules
Correct. Those are part of the module itself
, and if needed, modify the css files in each module correct?
You modify the custom.css file FOR each module, not IN the module folder
-
@Mykle1 yep on the same page now! ill stop messing with the js files in each modules folder. thanks
-
@jbeck615 said in Throwing down the gauntlet:
yep on the same page now! ill stop messing with the js files in each modules folder. thanks
You’re welcome. I did it too, at first
-
@jbeck615 The custom.css file is in the css directory in /pi/MagicMirror not within each module directory.