Read the statement by Michael Teeuw here.
Change newsfeed title to image/logo?
-
@justjim1220 said in Change newsfeed title to image/logo?:
Add this to custom.css, Make the changes you want in it…
.MMM-NewsFeedTicker { height: 100px; background-color: maroon; opacity: 1.0; } .MMM-NewsFeedTicker .headline { padding-top: 15px; font-size: 100%; } .MMM-NewsFeedTicker .image { height: 100px; background-color: #FFF; }
Let me know if you have any problems with this.
I am glad that you like it! :smiling_face_with_sunglasses:
I added the lines to the custom.css and adjusted as follows. I still see the scrolling text as full size / cut off (screenshot of section included…
.MMM-NewsFeedTicker { height: 50px; background-color: maroon; opacity: 0.5; } .MMM-NewsFeedTicker .headline { padding-top: 15px; font-size: 50%; } .MMM-NewsFeedTicker .image { height: 50px; background-color: #FFF; }
-
@justjim1220 said in Change newsfeed title to image/logo?:
My Apologies for the issues you are having, but, I am looking over the code to make these fixes and I am not seeing any of the problems you are describing…
Any way you could show me the specific places these errors are occurring?
I ran it through an error checker and it’s not finding any errors…
Th example config on your git page is missing a trailing ‘}’ This is why people have had issues adding to their config.js
-
Same issue here
-
Another apology…
When I was working with this module I had the font set to xlarge or large in the MMM-NewsFeedTicker.js file.
It makes it easier for these old eyes to see changes,
So, in the following section of the js file…
var headline = document.createElement("span"); headline.setAttribute("style", "padding-bottom:25px"); headline.className = "bold xlarge bright"; headline.innerHTML = "<font color= #ffaa00>" + moment(new Date(this.newsItems[this.activeItem].pubdate)).fromNow() + ": " + "</font>" + this.newsItems[this.activeItem].title + " || " + this.newsItems[this.activeItem].description; tickerBody.appendChild(headline);
Change the ‘xlarge’ to small
-
@striiker That’s the config issue i was having and solved it with the }
-
@cyberphox See last post…
-
Thanks for the heads-up on the error. I have it fixed now.
Much Appreciated!!! :smiling_face_with_sunglasses: -
@justjim1220 That definitely made it smaller! Thanks!
-
Your very welcome!
-
@justjim1220 said in Change newsfeed title to image/logo?:
Another apology…
When I was working with this module I had the font set to xlarge or large in the MMM-NewsFeedTicker.js file.
It makes it easier for these old eyes to see changes,
So, in the following section of the js file…
var headline = document.createElement("span"); headline.setAttribute("style", "padding-bottom:25px"); headline.className = "bold xlarge bright"; headline.innerHTML = "<font color= #ffaa00>" + moment(new Date(this.newsItems[this.activeItem].pubdate)).fromNow() + ": " + "</font>" + this.newsItems[this.activeItem].title + " || " + this.newsItems[this.activeItem].description; tickerBody.appendChild(headline);
Change the ‘xlarge’ to small
This has resolved the issue I had. I tried small and it was a little too small so I set that value to medium and it’s perfect for me. Thank you for pointing this out and providing the solution! Now this will stream my news.