• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MM-Navbar - Navigation Bar for Touchscreens to hide/show modules

Scheduled Pinned Locked Moved System
47 Posts 11 Posters 38.7k Views 15 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.
  • T Offline
    tidus5 @TheHyp3
    last edited by tidus5 Dec 29, 2016, 9:50 PM Dec 29, 2016, 9:49 PM

    @TheHyp3

    Hello
    in navbar.css you can play with

    .center{
    position: fixed;
    left: 45%;
    }

    • personnaly i removed this class
    S 1 Reply Last reply Dec 29, 2016, 10:09 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @tidus5
      last edited by Dec 29, 2016, 10:09 PM

      @tidus5 its never a good idea to manipulate modules code, but after reviewing this module there is no chance to avoid it to have custom buttons. The module owner should change this to config options.

      I came up with this solution to center them

      custom.css

      .MM-navbar .center {
        left: 50%;
        -webkit-transform: translate(-50%);
      }
      

      Please create a github issue if you need help, so I can keep track

      1 Reply Last reply Reply Quote 0
      • C Offline
        chrisyy
        last edited by Dec 30, 2016, 9:28 AM

        I have already tested some things and still didnt update and pushed to git.

        The problem with the creation of buttons out of the config is a for/while that still doesn’t work. Also i would need a library for icons.

        Ur proplem was indeed an issue, will fix this within git.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TheHyp3
          last edited by Dec 30, 2016, 11:44 AM

          @strawberry-3.141 did a little change on my custome.css in MagicMirror/css. Now its working very well.

          Heres the code:

          .MM-navbar .center {
          width: 100%;
          text-align: center;
          left: 0px;
          }

          0_1483098225679_navbar.JPG

          1 Reply Last reply Reply Quote 0
          • S Offline
            shashank @chrisyy
            last edited by Dec 31, 2016, 4:55 PM

            @chrisyy hi, i installed this module works great, how can i toggle between 2 same modules, example MMM-mails i need to toggle emails between gmail and hotmail , gmail to show hotmail to hide and vice versa

            C 1 Reply Last reply Jan 6, 2017, 8:48 AM Reply Quote 0
            • T Offline
              tidus5
              last edited by Jan 3, 2017, 9:27 PM

              Hey @chrisyy - hope you are well.
              Since the update i have a problem with the hide/show all butt - function not recognized in this line

              			MM.getModules().exceptWithClass('MM-navbar').exceptWithClass('MMM-ShipmentTracking').exceptWithClass('clock').enumerate(function(module){
              

              and now the weather and the current weather are not hide at startup - do you have the same problem ?

              1 Reply Last reply Reply Quote 0
              • C Offline
                chrisyy @shashank
                last edited by Jan 6, 2017, 8:48 AM

                @shashank u would need to have 2 of them installed, lets say one is Mail-Gmail, the second is Mail-Hotmail

                @tidus5 until now i haven’t tested it and im moving to a new place, so i my mirror aswell as my server is laying in a box right now. I saw that in the new version, there are visibility-locking options. Maybe this will have to do something with it. As soon as it is possible for me to do something, i will take a look and hopefully can fix this.
                second thing: u should not make 3x exceptwithclass, do one and separate the modules with commata.

                A 1 Reply Last reply Jan 7, 2017, 2:27 PM Reply Quote 0
                • I Offline
                  in_a_days
                  last edited by Jan 6, 2017, 8:44 PM

                  I think this module is very cool! My present build is non-touch so I made some small additions (informed by @GinSeng in another thread) and I’m currently using voice to trigger the Navbar. Love it! I’ll be happy to provide code or details if anybody is interested.

                  What ship would bear me ever back across so wide a Sea?

                  S 1 Reply Last reply Jan 7, 2017, 2:25 PM Reply Quote 0
                  • S Offline
                    shashank @in_a_days
                    last edited by Jan 7, 2017, 2:25 PM

                    @in_a_days hi, can you please share the code

                    I 1 Reply Last reply Jan 7, 2017, 6:21 PM Reply Quote 0
                    • A Offline
                      AlessandroRa @chrisyy
                      last edited by Jan 7, 2017, 2:27 PM

                      Hi @chrisyy thank you for this awesome module!
                      Only problem is that with this module on, the Hide/show all module disappeared. How can I fix it?
                      Thanks!

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      2 / 5
                      • First post
                        20/47
                        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