MagicMirror Forum

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

    Reduce font size in System stats

    Development
    3
    9
    466
    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.
    • P
      pieguy last edited by broberg

      hi guys
      anyone know how to reduce font size in this module
      thanks```

      1 Reply Last reply Reply Quote 0
      • G
        George last edited by

        Something like this:
        .calendar .title
        {
        font-size:15px;
        }

        1 Reply Last reply Reply Quote 0
        • G
          George last edited by

          in custom.css

          1 Reply Last reply Reply Quote 0
          • P
            pieguy last edited by

            thanks george, but there is no css file in this module .I have looked everywhere but cant figure it out, I am a nubbie btw
            thanks anyway

            1 Reply Last reply Reply Quote 0
            • M
              MajorC Project Sponsor last edited by

              Try:

              /**
               * MMM-SystemStats styles
               */
              .MMM-SystemStats table {
              	width: 350px; 
              	/*color: #666; */
              	font-size: 20px;
               }
               
              .MMM-SystemStats td {
                  line-height: 25px;
              }
              
              1 Reply Last reply Reply Quote 0
              • P
                pieguy last edited by

                thanks major
                not quite sure where to paste this code, tried everything so I have decided to scrap the module ,as it is way beyond my comprehension… guess I will have to stick with the simple
                modules …this app says everything is optional, but dont say how to implement the options.

                thanks for your reply and happy coding

                1 Reply Last reply Reply Quote 0
                • M
                  MajorC Project Sponsor last edited by MajorC

                  It is very easy,

                  in the folder

                  /home/pi/MagicMirror/css
                  

                  copy&paste the main.css and rename it to custom.css.

                  Delete everything in the NEW file and copy&paste what I wrote.

                  Than restart you MM.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pieguy last edited by

                    ground control to major C

                    WOW,it works,you are a genius…thanks so much, I had just about given up on stats

                    1 Reply Last reply Reply Quote 0
                    • P
                      pieguy last edited by

                      This post is deleted!
                      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