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.

    Animation Transition on MMM-Slideshow

    Scheduled Pinned Locked Moved General Discussion
    11 Posts 2 Posters 2.5k Views 2 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.
    • S Offline
      sdetweil
      last edited by

      this showed up in my news feed

      https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      O 1 Reply Last reply Reply Quote 0
      • O Offline
        Ouaoua @sdetweil
        last edited by

        @sdetweil Thanks a lot for your help!!! <3

        1 Reply Last reply Reply Quote 0
        • O Offline
          Ouaoua @sdetweil
          last edited by

          @sdetweil Ok So I wrote the code in the custom.css file as you said but in the website you sent me it is written that I need to add a line in the js file of the module too.

          The line:

          <h1 class="fade-in">Fade Me Down Scotty</h1>
          

          Obviously I need to change “Fade Me Down Scotty”

          I tried to add it myself but can’t make it work as I don’t know where to put this in the js file of the module.

          Could you help me one last time?

          Thanks a lot :D

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Ouaoua
            last edited by sdetweil

            @Ouaoua

            so the css starts

            .MMM-SlideShow .fade-in {
            … whatever
            }

            now you need to replace fade-in w the class u find on the image already created by the module

            if no unique cllass, the u can select the image tag element

            .MMM-SlideShow img {
            …whatever
            }

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by

              also make sure to increase the slide interval config, as the module will not know about the longer fade time

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • 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