MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    custom css with default weather module

    Custom CSS
    2
    3
    336
    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
      sixerdoodle last edited by

      how to differentiate between current and forecast in custom.css when they both use the same module name? ie .weather .wi-day.sunny gets both current and forecast. how do you specify only the current weather in custom.css?

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

        @sixerdoodle you can ADD a classname to the instance

        after

        module:   "weather",
        classes:"forecast",  // for example on the forecast
        

        then use that in custom.css

        .forecast … whatever

        Sam

        Create a working config
        How to add modules

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

          @sdetweil works like a champ. thanks!

          1 Reply Last reply Reply Quote 1
          • 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