Read the statement by Michael Teeuw here.
MMM-QuotesFromReddit
-
Description
Picks a random post from /r/quotes and displays the title meaning a random supply of quotes! Ideally meant to replace the compliments module.
Download
[card:bthuilot/MMM-QuotesFromReddit]
-
@bthuilot said in MMM-QuotesFromReddit:
Ideally meant to replace the compliments module.
Blasphemy! ;-)
-
Is there any way to add a css file to control the font size? While this is an unbelievably wonderful module, the quotes come in so large that it sometimes takes up half the screen.
-
@Spankythemusical said in MMM-QuotesFromReddit:
Is there any way to add a css file to control the font size?
The readme for the compliments module:
https://github.com/MichMich/MagicMirror/tree/develop/modules/default/complimentsConfiguration options
classes
Override the CSS classes of the div showing the compliments
Default value: thin xlarge bright
-
While it is entirely possible that I’m overlooking something simple, adding that config to the MMM-QuotesFromReddit section of config.js has no effect.
-
My mistake entirely. I thought we were talking about the compliments module.
in your custom.css file you could try adding this:
.MMM-QuotesFromReddit thin.xlarge.bright { font-size: 21px; /* Adjust accordingly */ } -
No problem. I was sure it was something that I was doing wrong. So in my MMM-QuotesFromReddit.js file I added:
}, getStyles: function () { return ["MMM-QuotesFromReddit.css"]; },Then I created a MMM-QuotesFromReddit.css file and put in the line that you wrote. Still no change. I’m going to continue messing with it, but any additional help would be unbelievably appreciated.
EDIT: I figured it out. I changed the line:
wrapper.className = "thin xlarge bright";to:
wrapper.className = "small";Works like a charm!
-
@Spankythemusical Hey sorry for the late response, I will make it so that you can change that in the config file soon and not need to edit the js file.
-
@bthuilot It’s no big deal. I honestly don’t know if the issue I was having was the same for anyone else. Just glad I was able to find a workaround so that I could use your module. Thank you for the work!
-
@bthuilot I know this is years later but is this module not available anymore?
-
B bugsounet referenced this topic on
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