Read the statement by Michael Teeuw here.
MMM-OpenWeatherMapForecast header
-
Hi,
I’m trying to add a color to the header for the MMM-OpenWeatherMapForecast module and I’m not getting anywhere.
The .css has this default section.
/* Forecast Header */
.MMM-OpenWeatherMapForecast .module-header.forecast-header {
margin-top: 20px;
margin-bottom: 0;
}I tried to add other fields but eventually just tried color: #7FFF00; and something that simple didn’t work.
The header I entered in config.js is displayed but I can’t get a color change, get the text capitalized, centered, etc.
The .njk Forecast Title section looks O.K. to me but maybe I’ve overlooked something silly.
Suggestions appreciated.
Regards
-
If you test something 100 times always test it just once more.
This worked…
/* Forecast Header */
.MMM-OpenWeatherMapForecast .module-header {
.forecast-header wasn’t needed (even tried one time with a space between the two).
Cheers