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.

    Default weather font size

    Scheduled Pinned Locked Moved Custom CSS
    6 Posts 3 Posters 1.2k 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.
    • K Offline
      KD
      last edited by

      Hello All, i am trying to change the default weather and the header of the forcast font size but am really struggling… can someone please help?

      Basically everything highlighted in yellow

      acbfc8c4-690f-4eb5-a31e-2afdde4d0c96-image.png

      BKeyportB 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer @KD
        last edited by

        @KD This is going to slightly change (I reworked some of the sizing CSS that’s been accepted into the develop branch) however, here’s what I recommend you do.

        My instructions are based on Windows Edge. Adjust as needed.

        Access the mirror webpage from another computer. You may have to change the “address” line in config.js to “0:0:0:0” from “localhost”… the default address will be http://{PiHostName}.local:8080 or http://X.X.X.X:8080 (by IP address) This shows your mirror on a computer you have more control over.

        Use the developer tools (F12) to access the gritty behind the webpage. In that window there will be a icon that is a pointer at a screen in the upper left corner. If you click that, you can use your mouse to highlight the css elements you need. More than likely they would show something along the lines of class="module-header" and the like. You can use this in your own custom.css to alter it. More than likely, based on the CSS file in the directory, the classes it’s using is coming from main.css - you can copy and paste the classes to custom.css fix it your way. DO NOT CHANGE MAIN.CSS

        The "E" in "Javascript" stands for "Easy"

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

          @BKeyport

          .modulename  .module-header {
                font-size:
          }
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          BKeyportB 1 Reply Last reply Reply Quote 0
          • BKeyportB Offline
            BKeyport Module Developer @sdetweil
            last edited by

            @sdetweil … or you could just have someone give you the answer, rather than figuring it out yourself. 🤣

            The "E" in "Javascript" stands for "Easy"

            S 2 Replies Last reply Reply Quote 0
            • S Away
              sdetweil @BKeyport
              last edited by

              @BKeyport well, my text doesn’t work as is…

              I try to point them to the dev window instructions
              https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1663441193880

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @BKeyport well, my text doesn’t work as is…

                I try to point them to the dev window instructions
                https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1663441193880

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                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 Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy