Read the statement by Michael Teeuw here.
missing custom.css file
-
@thedoorsfanatic right… to create the initial text file its
touch ~/MagicMirror/css/custom.cssthen u can edit it…with your favorite editor
-
I just set up another laptop board. Used @sdetweil’s installer. Fantastic! Copied the main.css file and renamed it to custom.css. Done!
-
@Mykle1 but that is sorta heavy weight . cause now you are overriding every class defined in main.css…
-
Well, I emptied the body and deleted everything else. Did I forget to mention that? :-)
-
@Mykle1 yes… easier just to do the touch thing… create an empty file… (for users just starting out)
-
Yes. if you know about the touch thing. I did not. Now I do.
-
@Mykle1 or just editing and use save as
-
Or, have a blank custom.css file added during installation. Easier for the users just starting out. ;-)
-
@Mykle1 true… easy peasy… done (in my script…)
-
@sdetweil said in missing custom.css file:
true… easy peasy… done (in my script…)
What a great idea! ;-)
This is why you are the king! :thumbsup:
-
FWIW, I wouldn’t put a “blank” custom.css…
I’d put at the top of main.css
/*********************** * Magic Mirror * Main CSS * * Do not edit this file, make changes to custom.css instead. * ***********************/and in custom.css
/*********************** * Magic Mirror * Custom CSS * * Add your custom CSS here, for help, please go to http://forum.magicmirror.builders ***********************/ -
@BKeyport main.css is owned by the project. Submit a pull request to update that.
The comment in custom.css does not add anything in my opinion.
-
I know that from a beginning user standpoint, having any user files point you to help would ease a lot of people. I’m just thinking of the person who heard of this project and decided to try it out because Pi’s are cheap, and it looked like a challenge (Me!) - I sure the heck didn’t know where I could get help at first, and have learned so much from here.
-
Sorry for resurrecting this but I think an empty custom.css should be part of the default install. There are errors in the console log when it is missing.
-
@mmmmh if you use the automated installer, it will create an empty file
-
@sdetweil Thanks for the hint. I installed it manually. I guess the assumption is if you know how to clone you also know how to touch. : )
-
@mmmmh well, there is no damage if its not there, so, if you need it, you will create it…
i agree with you it should be there… there are quite a few new users that are following some
guide, and get to the ‘edit custom.css file’ step and its not there and they are lost. and don’t know what to do.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login