• 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.

custom.css ......body???

Scheduled Pinned Locked Moved Custom CSS
42 Posts 3 Posters 2.1k Views 3 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 @piki
    last edited by Nov 19, 2024, 5:18 PM

    @piki said in custom.css ......body???:

    one more question, how do I change the color of the clock and weather module to black?

    you will have to change/override the CSS for those…
    in each module folder is the defined css (don’t change there, override in custom.css

    if not there(same for every module), then examine the elements in the developers window elements tab

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • P Offline
      piki
      last edited by Nov 19, 2024, 5:31 PM

      great, and if I want “Bolt” bold text instead of thin?

      S 1 Reply Last reply Nov 19, 2024, 5:33 PM Reply Quote 0
      • S Offline
        sdetweil @piki
        last edited by sdetweil Nov 19, 2024, 5:33 PM Nov 19, 2024, 5:33 PM

        @piki see main.css for the defined colors and styles

        if nothing there that works for you, then you have to define your own (in custom.css)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • P Offline
          piki
          last edited by Nov 19, 2024, 5:51 PM

          if I would like to move the clock or the weather more towards the center from the edge, do I have to write it in config.js? is that so

          S 1 Reply Last reply Nov 19, 2024, 5:54 PM Reply Quote 0
          • S Offline
            sdetweil @piki
            last edited by Nov 19, 2024, 5:54 PM

            @piki in config.js are only the defined positions.
            see https://forum.magicmirror.builders/topic/286/regions?_=1732038547578

            otherwise you have to use css to adjust things.

            note that main.css defines margins around modules and the overall screen

            so you may have to adjust margins

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              piki
              last edited by Nov 19, 2024, 8:32 PM

              thank you very much for all the advice so far…you have helped me a lot

              1 Reply Last reply Reply Quote 0
              • P Offline
                piki
                last edited by Nov 21, 2024, 5:42 PM

                can be changed language in openmeteo weather?

                S 1 Reply Last reply Nov 21, 2024, 5:49 PM Reply Quote 0
                • S Offline
                  sdetweil @piki
                  last edited by Nov 21, 2024, 5:49 PM

                  @piki not separately from the mm language setting, which is set up at the top, before the modules:[] list

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    piki
                    last edited by Nov 21, 2024, 6:06 PM

                    I don’t understand

                    S 1 Reply Last reply Nov 21, 2024, 6:19 PM Reply Quote 0
                    • S Offline
                      sdetweil @piki
                      last edited by Nov 21, 2024, 6:19 PM

                      @piki you can set the language for MagicMirror in config.js

                        var config = {
                          address: "0.0.0.0",
                           port: 8090,
                          basePath: "/",
                          language: "en",     <----- here
                          serverOnly: "local",
                          locale: "en-US",   <--- and here
                          modules: [   <---- after here is module configuration
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 4 / 5
                      4 / 5
                      • First post
                        28/42
                        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