• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Current Weather and Weather Forecast looks grey out.

Scheduled Pinned Locked Moved Custom CSS
24 Posts 6 Posters 4.9k Views 5 Watching
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 Offline
    sdetweil @raf
    last edited by Jan 31, 2021, 4:43 PM

    @raf please dont edit the code. use config.js

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by A Former User Jan 31, 2021, 4:55 PM Jan 31, 2021, 4:45 PM

      This post is deleted!
      S 1 Reply Last reply Jan 31, 2021, 4:51 PM Reply Quote 1
      • S Offline
        sdetweil @Guest
        last edited by Jan 31, 2021, 4:51 PM

        @hango no

        custom.css is in css always. hard coded to be loaded last

        never referenced in config.js

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        ? S 2 Replies Last reply Jan 31, 2021, 4:57 PM Reply Quote 0
        • ? Offline
          A Former User @sdetweil
          last edited by A Former User Feb 1, 2021, 6:43 PM Jan 31, 2021, 4:57 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            shagtimetim @sdetweil
            last edited by Feb 1, 2021, 4:27 PM

            @sdetweil Following this: If not in config.js, where do we reference the custom.css?

            S 1 Reply Last reply Feb 1, 2021, 4:29 PM Reply Quote 0
            • S Offline
              sdetweil @shagtimetim
              last edited by Feb 1, 2021, 4:29 PM

              @shagtimetim you never reference custom.css.

              it is hard coded in the mm runtime to load custom.css last, to allow it to override any styles set before

              u have to do nothing

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              S 1 Reply Last reply Feb 1, 2021, 4:32 PM Reply Quote 0
              • S Offline
                shagtimetim @sdetweil
                last edited by Feb 1, 2021, 4:32 PM

                @sdetweil As always, thank you sir.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Guest
                  last edited by Feb 1, 2021, 7:05 PM

                  @hango altho u can, you shouldnt. there is only one. normal place should be fine

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  ? 1 Reply Last reply Feb 2, 2021, 6:09 PM Reply Quote 0
                  • ? Offline
                    A Former User @sdetweil
                    last edited by Feb 2, 2021, 6:09 PM

                    This post is deleted!
                    S 1 Reply Last reply Feb 2, 2021, 6:14 PM Reply Quote 0
                    • S Offline
                      sdetweil @Guest
                      last edited by sdetweil Feb 2, 2021, 6:15 PM Feb 2, 2021, 6:14 PM

                      @hango remember you can use the dev window elements tab, to edit the css, get what u want, and code that in custom.css

                      quit guessing

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      ? 1 Reply Last reply Feb 2, 2021, 8:46 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        16/24
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy