Comments (3)
For anyone else who sees this thread, in the mean time you can remove the "simple logo" by:
- Navigate through your folders to /home/pi/MagicMirror/modules/MMM-SimpleLogo
- Open MMM-SimpleLogo.js
- The 4th line is...
text: "Simple Logo",
...delete the words in the quotation marks or add words you would prefer, such as "Magic Mirror"
from mmm-simplelogo.
@Jacobphilli You can do that, which will work 99% of the time. Just be aware that there will still be an empty string added to the DOM, which may or may not cause issues, depending on custom CSS or other modules that interact with this one.
I would suggest commenting out lines 39 & 40:
// var text = document.createTextNode(this.config.text);
// wrapper.appendChild(text);
This would make it so that they are never even added to the wrapper, ensuring they don't introduce any inconsistencies.
As for a solution in future updates, I would suggest not setting a default "text" value, then adding an if statement to conditionally render the "text" element only if the user supplies some text in the config.
from mmm-simplelogo.
Thank you @jonsger . hope this will help anyone
from mmm-simplelogo.
Related Issues (10)
- Config options don't work HOT 2
- Add a scheduler HOT 1
- Install HOT 1
- Seeking help with SIMPLE_LOGO_UPDATE HOT 1
- Custom CSS & Top Text HOT 2
- [Feature Request] Automatic refresh of image when change is detected HOT 8
- Customize other pages HOT 2
- Multiple Logos in the Same Container? HOT 1
- feature request: label HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-simplelogo.