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.

    MMM-CalendarExt3

    Scheduled Pinned Locked Moved Utilities
    676 Posts 81 Posters 2.4m Views 85 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.
    • 1 Offline
      1a2a3a @MMRIZE
      last edited by

      @MMRIZE Screenshot 2023-11-22 203559.png

      here you go. red marking

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @1a2a3a
        last edited by MMRIZE

        @1a2a3a
        Modules do not rule that area. It is the default padding of MM for the frame construction.

        Open your css/custom.css then you can see this section.

        :root {
          --color-text: #999;
          --color-text-dimmed: #666;
          --color-text-bright: #fff;
          --color-background: black;
        
          --font-primary: "Roboto Condensed";
          --font-secondary: "Roboto";
          
          --font-size: 20px;
          --font-size-small: 0.75rem;
        
          --gap-body-top: 60px;
          --gap-body-right: 60px;
          --gap-body-bottom: 60px;
          --gap-body-left: 60px;
          
          --gap-modules: 30px;
        }
        

        Adjust them for your purpose, especially --gap-body-XXX

        1 1 Reply Last reply Reply Quote 0
        • 1 Offline
          1a2a3a @MMRIZE
          last edited by

          @MMRIZE thanks for that. It’s such a pain trying to figure out the css on the pi.

          I’m currently in the midst of installing mm on my windows pc. And I will scp to copy all the modules and css to pc, then open dev and edit the css accordingly before using the pi and scp copy back the css file.

          Is this the fastest and easiest way to go about doing this? If there’s a better route, do let me know.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @1a2a3a
            last edited by sdetweil

            @1a2a3a install the (free) bitvise or winscp clients on windows, enable ssh on pi
            and then you can edit on windows with double click on the file interface window they provide . bitvise also has a drag/drop window to copy files in either direction…

            on windows I use Notepad++ or Visual Studio Code as the editor…

            I NEVER edit ON the pi… EVER… I use ssh or one of the graphical tools…

            on Linux I use the Caja file manager as it can link to ‘servers’ (ssh systems) and provide the same file manager interface

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 1 Reply Last reply Reply Quote 0
            • 1 Offline
              1a2a3a
              last edited by

              THANK YOU both! the gap body code is exactly what i needed and bitvise helps a plenty!

              Sam, do you mean i copy the code over from pi to pc > then simulate pc to run the mirror in dev mode and edit the css on the pc > then copy the css code from pc back to pi?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @1a2a3a
                last edited by sdetweil

                @1a2a3a no ,
                open any browser connected to mm, in developer mode, (so chrome on your PC viewing mm page, and editor on PC editing custom.css via bitvise directly)

                and you can set styles on any element to see it’s effect

                then can add those to custom.css and refresh

                see
                https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1700742616489

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 1 Reply Last reply Reply Quote 0
                • 1 Offline
                  1a2a3a @sdetweil
                  last edited by

                  @sdetweil hmmm, i have been editing in the module css instead of the custom css. any undesirable consequences? also, whats the button to press for refresh? i keep doing ctrl c and npm start for refresh.

                  M S 2 Replies Last reply Reply Quote 0
                  • M Offline
                    MMRIZE @1a2a3a
                    last edited by

                    @1a2a3a
                    Don’t do edit module’s CSS ever at all. It will be problem on module update.
                    Instead, override them in your css/custom.css

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @1a2a3a
                      last edited by

                      @1a2a3a refresh

                      if the cursor is over the mm part of the page, ctrl-r
                      if the cursor is over the developers window part, f5

                      never edit any module provided file, or any mm provided file

                      custom.css is designed to enable override of any css.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 1 Reply Last reply Reply Quote 0
                      • 1 Offline
                        1a2a3a @sdetweil
                        last edited by

                        @sdetweil lol so dead. no idea what i changed in main.css and module css :(

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 41
                        • 42
                        • 43
                        • 44
                        • 45
                        • 67
                        • 68
                        • 43 / 68
                        • 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