MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. schlittrix
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-SoccerLiveScore

      @0m4r said in MMM-SoccerLiveScore:

      @schlittrix I have done some changes and have not updated the screenshots :P
      I may need to review the layout with only the logos “on”.
      … btw, I realized, I gave you the wrong piece of code, that one would fix the height, but you asked for the width, can you try like this:

      .module.MMM-SoccerLiveScore {
          max-width: 400px; //any value that fits you
          overflow: hidden;
      }
      

      aaah okay :D
      yeah, I realized the height-width mix, but also tried it with width… no success :(

      posted in Sport
      S
      schlittrix
    • RE: MMM-SoccerLiveScore

      @0m4r said in MMM-SoccerLiveScore:

      uhm… the problem is that you may not be able to see the whole standings then.
      I have also go got a similar problem and still have not found a real solution.

      Ayway, you can try to add in the custom.css something like:

      .module.MMM-SoccerLiveScore {
          max-height: 400px; //any value that fits you
          overflow: hidden;
      }
      

      Hm. Tried it without success.
      But i dont understand. Between 0:0 and the logos is so much space… and on the top, there is an underline filling the whole width… in the Screenshot from this Module, the logos were still between the results…

      posted in Sport
      S
      schlittrix
    • RE: MMM-SoccerLiveScore

      @egnos said in MMM-SoccerLiveScore:

      @0m4r thanks for answering me.
      Now it works without my intervention!

      Where can I find the news you are working on?

      Thanks, module works fine.
      One question: I just set the standings without table and without text. I would like to show it in die top_bar.
      config:

      {
      	module: 'MMM-SoccerLiveScore',
      	position: 'top_left',
      	header: 'Live-Scores',
      	config: {
      		leagues: [35],
              showNames: false,
              showLogos: true,
              displayTime: 60 * 1000,
              showTables: false
      	}
      },
      

      my problem is, the weidth is over the whole monitor (standings in the middle, but the logos on the maximum left and maximum right side. so the other modules are too far down. Is it possible to set the module with a fix width f.e. 400px?

      posted in Sport
      S
      schlittrix
    • RE: Newsfeed Wrap with CSS

      @sdetweil said in Newsfeed Wrap with CSS:

      also, notice the leading dot (.) on the class name, this is required

      excellent!!! it works fine now :)
      Thank you! Nice supporter :)

      posted in Troubleshooting
      S
      schlittrix
    • RE: Newsfeed Wrap with CSS

      @sdetweil said in Newsfeed Wrap with CSS:

      newsfeed-desc {
      width: 700px;
      display: flex;
      justify-content: center;
      }

      Don’t know, maybe I’m stupid…
      but it still doesn’t work…
      this is my config-setup:

       {
                              module: "newsfeed",
                              position: "bottom_bar",
                              config: {
                                      feeds: [
                                              {
                                                      title: "Tagesschau",
                                                      url: "https://www.tagesschau.de/xml/rss2/"
                                              }
                                      ],
                                      showSourceTitle: true,
                                      showPublishDate: true,
                                      broadcastNewsFeeds: true,
                                      broadcastNewsUpdates: true,
                                      showDescription: true,
                                      wrapDescription: true
                              }
                      },
      

      and this is the css-file:

      newsfeed-desc {
          width: 500px;
          display: flex;
          justify-content: center;
      }
      
      posted in Troubleshooting
      S
      schlittrix
    • RE: Newsfeed Wrap with CSS

      @sdetweil said in Newsfeed Wrap with CSS:

      @schlittrix yes

      u can specify lots of style elements in a single class like that

      for readability you should put the contents on separate lines inside the braces
      like this

      newsfeed-desc { 
           width: 700px; 
           text-align: center; 
      }
      

      so i tried this step without success…
      When I just have the “width”-line, the text is wrapped, but not centered.
      But when I put in these code with text-align, nothing happend and the text is no more wrapped…

      any ideas? :(

      posted in Troubleshooting
      S
      schlittrix
    • RE: Newsfeed Wrap with CSS

      @sdetweil said in Newsfeed Wrap with CSS:

      @schlittrix yes

      u can specify lots of style elements in a single class like that

      for readability you should put the contents on separate lines inside the braces
      like this

      newsfeed-desc { 
           width: 700px; 
           text-align: center; 
      }
      

      thank you so much :)
      I will try this today in the evening

      posted in Troubleshooting
      S
      schlittrix
    • RE: Newsfeed Wrap with CSS

      @sdetweil ouh. I’m a beginner :D
      so this way?

      newsfeed-desc { width: 700px; text-align: center; }
      
      posted in Troubleshooting
      S
      schlittrix
    • RE: Newsfeed Wrap with CSS

      @mykle1
      Thank you. I tried this css-setup. The lengh is fine, but the center-function doesn’t work.

      newsfeed-desc { width: 700px; }
      text-align: center;

      posted in Troubleshooting
      S
      schlittrix
    • Newsfeed Wrap with CSS

      Hey,
      I’ve got a problem with the newsfeed-module.
      It works fine except the width, its too wide, so the text overwrites other modules. (newsfeed is centered).
      So .wrap doesn’t work.
      I tried it with CSS to fix the width, but than the “wrapped” text is still on the left side and not centered.
      Is there a possibility to center the “wrapped” text in the CSS-File or is there another option for me?

      posted in Troubleshooting
      S
      schlittrix
    • 1
    • 2
    • 1 / 2