• 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 1.8k 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 Away
    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
    • P Offline
      piki
      last edited by Nov 21, 2024, 6:21 PM

      so I have it now…the clock shows me in “sk” language but the weather in “en”…???

      language: "sk",
      locale: "sk-SK",
      logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
      timeFormat: 24,
      units: "metric",
      
      
      
      
      modules: [
      	
      	{
      		module: "clock",
      		position: "bottom_left"
      	},
      
      
      	
      	{
      		module: "weather",
      		position: "bottom_right",
      		config: {
      			weatherProvider: "openmeteo",
      			type: "current",
      			lat: 48.7164,
      			lon: 21.2611,
      			units: "metric",
      			showForecast: true,
      			forecastLayout: "horizontal",
      			showSun: true,
      			lang: "sk",
      
      S 1 Reply Last reply Nov 21, 2024, 6:23 PM Reply Quote 0
      • S Away
        sdetweil @piki
        last edited by Nov 21, 2024, 6:23 PM

        @piki right… there are two problems

        1. it should follow the system config - but doesn’t
        2. user should be able to override that - but can’t

        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:26 PM

          is it not possible?

          S 1 Reply Last reply Nov 21, 2024, 7:14 PM Reply Quote 0
          • S Away
            sdetweil @piki
            last edited by Nov 21, 2024, 7:14 PM

            @piki today, no

            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 23, 2024, 4:50 PM

              I changed the bold font in main.css, but in the clock it only changed the date and day to bold, the clock itself remained thin… where could the problem be?

              S 1 Reply Last reply Nov 23, 2024, 4:52 PM Reply Quote 0
              • S Away
                sdetweil @piki
                last edited by Nov 23, 2024, 4:52 PM

                @piki need more CSS work… every little element needs style… most do NOT inherit from their parent, or their particular thing doesn’t have the same style in effect…

                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 23, 2024, 5:11 PM

                  Can I find the specific clock element somewhere or do I have to write it down?

                  S R 2 Replies Last reply Nov 23, 2024, 5:35 PM Reply Quote 0
                  • S Away
                    sdetweil @piki
                    last edited by sdetweil Nov 25, 2024, 5:37 PM Nov 23, 2024, 5:35 PM

                    @piki sorry, I don’t know… I use the developers window when I need to fiddle with css

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      raf @piki
                      last edited by Nov 23, 2024, 5:49 PM

                      @piki

                      .clock .time {
                      font-size: 150px;
                      color: yellow;
                      }
                      .clock .date {
                      font-size: 40px;
                      color: red;

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