MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-NewsFeedTicker] scroll from left to right only?

    Scheduled Pinned Locked Moved Custom CSS
    41 Posts 3 Posters 14.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Cr4z33C Offline
      Cr4z33
      last edited by

      OK this is getting weird now because I applied the above code and it STILL keeps scrolling back and forth! :anguished_face:

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Cr4z33
        last edited by

        @Cr4z33 did u delete the old code?

        /*@-webkit-keyframes marquee {
          0% { left: 100%; }
          100% { left: -100%; }
        }
        
        @-moz-keyframes marquee {
          0% { left: 100%; }
          100% { left: -100%; }
        }
        
        @-ms-keyframes marquee {
          0% { left: 100%; }
          100% { left: -100%; }
        }
        
        @-o-keyframes marquee {
          0% { left: 100%; }
          100% { left: -100%; }
        }
        
        @keyframes marquee {
          0% { left: 100%; }
          100% { left: -100%; }
        } */
        

        notice the /* and */

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • Cr4z33C Offline
          Cr4z33
          last edited by

          @sdetweil of course I did. :)

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Cr4z33
            last edited by sdetweil

            @Cr4z33 whoops. left out a change comment out the animations for other browsers

            .MMM-NewsFeedTicker .tickerbody {
              margin: 0 auto;
              width: 100%;
              padding-top: 5px;
              position: relative;
              white-space: nowrap;
              overflow: visible;
              /*-webkit-animation: marquee linear infinite;
              -moz-animation: marquee linear infinite;
              -ms-animation: marquee linear infinite;
              -o-animation: marquee linear infinite; */
              animation: marquee linear infinite;
            }
            

            weird… on 2.11 it scrolls right to left
            on 2.12 is scrolls left to right

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil
              last edited by

              i installed it again on my desktop system (from laptop), and it works as expected (on MM 2.12)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Cr4z33C 1 Reply Last reply Reply Quote 0
              • Cr4z33C Offline
                Cr4z33 @sdetweil
                last edited by

                @sdetweil nope mine ist still going back and forth.

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @Cr4z33
                  last edited by

                  @Cr4z33 weird… I just re-installed MM and the module and changed the css and changed the newsfeed module config entry to MMM-NewsFeedTicker and started, left to right

                  		{
                  			module: "MMM-NewsFeedTicker",
                  			position: "bottom_bar",
                  			config: {
                  				feeds: [
                  					{
                  						title: "New York Times",
                  						url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                  					}
                  				],
                  				showSourceTitle: true,
                  				showPublishDate: true,
                  				broadcastNewsFeeds: true,
                  				broadcastNewsUpdates: true
                  			}
                  		},
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil
                    last edited by

                    from my dropbox , screen video capture

                    https://www.dropbox.com/s/vab6t9j0oa95zyw/Kazam_screencast_00000.mp4?dl=0

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    Cr4z33C 2 Replies Last reply Reply Quote 0
                    • Cr4z33C Offline
                      Cr4z33 @sdetweil
                      last edited by Cr4z33

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Cr4z33C Offline
                        Cr4z33 @sdetweil
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil
                          last edited by sdetweil

                          I don’t understand. the default, the text ( the beginning of the line of text) starts to appear on the right side of the screen and scrolls to the left ( last showing the end of the line of text)

                          my change, per your request, the end of the text appears on the left of the screen, and scrolls to the right ( last showing the beginning of the line of text)

                          this is for left to right language English. I don’t know if language setting changes the default marquee order

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @sdetweil
                            last edited by

                            @Cr4z33 did u see my post above?

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            Cr4z33C 1 Reply Last reply Reply Quote 0
                            • Cr4z33C Offline
                              Cr4z33 @sdetweil
                              last edited by

                              @sdetweil said in [MMM-NewsFeedTicker] scroll from left to right only?:

                              @Cr4z33 did u see my post above?

                              Yep saw also the video.

                              Dunno why my MM system ignores the CSS edit… :confounded_face:

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @Cr4z33
                                last edited by

                                @Cr4z33 do you have a custom.css setting which would override the module?

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                Cr4z33C 1 Reply Last reply Reply Quote 0
                                • Cr4z33C Offline
                                  Cr4z33 @sdetweil
                                  last edited by Cr4z33

                                  @sdetweil indeed so that’s the reason then?? :anguished_face:

                                  Update:
                                  Nope it keeps going back and forth even without custom.css entry…

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Cr4z33
                                    last edited by sdetweil

                                    @Cr4z33 did u delete custom.css, comment out or what?

                                    and restarted MM

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    Cr4z33C 1 Reply Last reply Reply Quote 0
                                    • Cr4z33C Offline
                                      Cr4z33 @sdetweil
                                      last edited by Cr4z33

                                      @sdetweil I deleted the file.

                                      Yes I restarted MM.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @Cr4z33
                                        last edited by

                                        @Cr4z33 that is
                                        ~/MagicMirror/css/custom.css
                                        right?

                                        and u edited the MMM-NewsFeedTicker.css in the MMM-NewsFeedTicker module folder to add my changes, yes?

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        Cr4z33C 1 Reply Last reply Reply Quote 0
                                        • Cr4z33C Offline
                                          Cr4z33 @sdetweil
                                          last edited by

                                          @sdetweil said in [MMM-NewsFeedTicker] scroll from left to right only?:

                                          @Cr4z33 that is
                                          ~/MagicMirror/css/custom.css
                                          right?

                                          and u edited the MMM-NewsFeedTicker.css in the MMM-NewsFeedTicker module folder to add my changes, yes?

                                          Correct. 👍🏽

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @Cr4z33
                                            last edited by sdetweil

                                            @Cr4z33 the module is still requesting to load the css directly, right? with the right name

                                                getStyles: function() {
                                                    return ["MMM-NewsFeedTicker.css"];
                                                },
                                            

                                            one more thing, my module is running all default values, cause i changed the name of the default newsfeed module to this one… but did NOT set any config values…

                                            		{
                                            			module: "MMM-NewsFeedTicker",
                                            			position: "bottom_bar",
                                            			config: {
                                            				feeds: [
                                            					{
                                            						title: "New York Times",
                                            						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                            					}
                                            				],
                                            				showSourceTitle: true,
                                            				showPublishDate: true,
                                            				broadcastNewsFeeds: true,
                                            				broadcastNewsUpdates: true
                                            			}
                                            		},
                                            

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            Cr4z33C 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy