MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    MMM-OpenWeatherMapForecast header

    Troubleshooting
    1
    2
    167
    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
      scumbelly last edited by

      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

      S 1 Reply Last reply Reply Quote 0
      • S
        scumbelly @scumbelly last edited by

        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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy