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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login