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.

    missing custom.css file

    Scheduled Pinned Locked Moved Custom CSS
    19 Posts 6 Posters 5.4k Views 6 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.
    • G Offline
      Gorman_ni
      last edited by

      hi, just got this up and running but for the life of me can’t find my custom.css file or figure out how to set one up correctly, i only have main.css in there. any help would be appreciated.

      1 Reply Last reply Reply Quote 0
      • thedoorsfanaticT Offline
        thedoorsfanatic
        last edited by

        I am not an expert but I would name an empty text file to custom.css and put it in the css folder

        My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @thedoorsfanatic
          last edited by sdetweil

          @thedoorsfanatic right… to create the initial text file its

          touch ~/MagicMirror/css/custom.css
          

          then u can edit it…with your favorite editor

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            I just set up another laptop board. Used @sdetweil’s installer. Fantastic! Copied the main.css file and renamed it to custom.css. Done!

            Create a working config
            How to add modules

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @Mykle1
              last edited by

              @Mykle1 but that is sorta heavy weight . cause now you are overriding every class defined in main.css…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @sdetweil
                last edited by

                @sdetweil

                Well, I emptied the body and deleted everything else. Did I forget to mention that? :-)

                Create a working config
                How to add modules

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Mykle1
                  last edited by

                  @Mykle1 yes… easier just to do the touch thing… create an empty file… (for users just starting out)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @sdetweil
                    last edited by

                    @sdetweil

                    Yes. if you know about the touch thing. I did not. Now I do.

                    Create a working config
                    How to add modules

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Mykle1
                      last edited by

                      @Mykle1 or just editing and use save as

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @sdetweil
                        last edited by

                        @sdetweil

                        Or, have a blank custom.css file added during installation. Easier for the users just starting out. ;-)

                        Create a working config
                        How to add modules

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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