• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Custom.css file

Scheduled Pinned Locked Moved Custom CSS
5 Posts 2 Posters 1.1k Views 2 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.
  • A Offline
    ankonaskiff17
    last edited by Nov 30, 2020, 11:23 PM

    Is there supposed to be an empty or commented out custom.css file in the CSS folder along with Main.css?
    I’ve read several different things in different modules that seem to say there should be. I’ve done MM install on two Pi’s for different monitors and there is no custom.css file in either.

    Is there a template or just create a blank file and save as custom.css?

    S 1 Reply Last reply Nov 30, 2020, 11:28 PM Reply Quote 0
    • S Away
      sdetweil @ankonaskiff17
      last edited by sdetweil Nov 30, 2020, 11:28 PM Nov 30, 2020, 11:28 PM

      @ankonaskiff17 if you installed manually, (clone, npm install), then u have to create the empty file yourself, the command

      touch ~/MagicMirror/css/custom.css
      

      will do that

      if you used the automated install script, it would have done that for you

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • A Offline
        ankonaskiff17
        last edited by Nov 30, 2020, 11:37 PM

        Okay.
        Instructions were pretty explicit in saying do manual install so thats what I did.
        There probably should be an asterisk on manual instructions that say that.
        I just went back and looked and says manual install is only official method but doesn’t say that anywhere.

        FWIW, I was looking at stuff in Developer Tools and there was a fault showing around custom.css even though it isn’t installed so I assume one of the modules is trying to make a call to it.

        S 1 Reply Last reply Nov 30, 2020, 11:43 PM Reply Quote 0
        • S Away
          sdetweil @ankonaskiff17
          last edited by Nov 30, 2020, 11:43 PM

          @ankonaskiff17 yes, the system tries to load the file and fails…

          the doc says

          Alternative Installation Methods
          The following installation methods are not maintained by the MagicMirror² core team. Use these scripts and methods at your own risk.
          
          #Automatic Installation Scripts
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            ankonaskiff17
            last edited by Nov 30, 2020, 11:47 PM

            I could have phrased that better. It doesn’t say that you need to create the custom.css file from scratch if you use the official manual install.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              4/5
              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