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 @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
            • S Offline
              sdetweil @1a2a3a
              last edited by sdetweil

              @1a2a3a in each place (mm folder/ module folder) do

              git diff
              

              it will show you the changed content

              then copy that to custom.css

              when complete, in each place do

              git checkout xxx
              

              xxx is the filename to restore
              main.css or module_name.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 thank you! that fix it. i needed quite a long time to remediate them haha

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

                  @sdetweil hey Sam can I know your vnc tool? Or rather the problem I’m facing now is that I’m using tiger vnc. My pi monitor is vertical. Pc Monitor is horizontal. When I vnc from the pc it shows vertical but my mouse is in horizontal mode so I can’t control it properly to do my css.

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

                    @1a2a3a I don’t use VNC. I use my PC browser.

                    on windows I use the bitvise ssh client that gives me ssh window for commands and a file system browser for editing files.

                    mixing vertical and horizontal is hard

                    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 I’m also using bitvise as per your suggestion. Editing config file and the drag and drop is brill.

                      I install MM on pc and do the css on the pc and edit the css before transferring the css over to pi. Only problem is pc MM is horizontal and more often than not I have to guess and trial and error to get my position right.

                      My pc MM is started via npm start dev hence I can adjust the horizontal scale. So the horizontal position is always like for like. It’s the vertical part that I couldn’t do it because well, the horizontal monitor is not long enough….

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

                        @1a2a3a you don’t have to transfer the css file, just double click to edit and save.
                        I use notepad++ or visual studio code as the config editor

                        yeh, doing the math on the dimension changes is a pain in the rear.

                        get it like you like it horizontal and adjust

                        x times narrow_size/wide_size ( like width of 300px * 1080/1920)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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