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.

    Question for custom css

    Scheduled Pinned Locked Moved Custom CSS
    8 Posts 4 Posters 2.0k 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.
    • D Offline
      dsmigl
      last edited by

      New to Magic Mirror. I had a friend help build a web page (family dashboard) prior that had a 7 day forecast, a month view of google calendar, and weather radar. After learning more about the capabilities of Magic Mirror, I wanted to add several additional modules. I am currently running a small 19" monitor rotated and mounted to the side of my kitchen cabinet. My question before heavily getting involved with MM is around the regions. I’m looking more into a heavily modified format using CSS grid or something similar. Attached image is my proposed layout. Curious if this can be accomplished? And if so, is there any specific guidance on tying in the modules to those specific grid locations?!MM Template.jpg

      S lavolp3L 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @dsmigl
        last edited by

        @dsmigl see the MM index.html for the designed layout… each area is a stack, 1st in config is top, next is lower, etc…
        most modules are written to honor the layout

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dsmigl @sdetweil
          last edited by

          @sdetweil Thanks Sam! knowing this can be accomplished I will proceed with learning all the ins and outs of MagicMirror. Just at first glance, the capabilities appear close to endless and the community is always there to help.

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

            @dsmigl i don’t know IF it can be … looks pretty hard from the MM design perspective

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dsmigl @sdetweil
              last edited by

              @sdetweil understood, will get in and mess with it and see how close, if any, I can get it.

              1 Reply Last reply Reply Quote 0
              • bheplerB Offline
                bhepler Module Developer
                last edited by

                Anything is possible, with enough work. That’s the fun of being a developer. You are god on your machine, up to and including rewriting the operating system - the very laws of nature, if you will - to create things as you see fit.

                Granted, it’s not always easy and it may not be worth the effort. But it is possible.

                That said, you can probably modify the original Magic Mirror code to add new regions. You’ll need to modify the index.html and main.ccs files at the very least. You probably will need to modify the main script to add the new region names to the routines that load the modules.

                And you’ll want to fork the Magic Mirror repository and work from your fork. Otherwise, you’ll lose everything with the next upgrade.

                1 Reply Last reply Reply Quote 0
                • lavolp3L Offline
                  lavolp3 Module Developer @dsmigl
                  last edited by

                  @dsmigl Someone here on the forum rewrote the css part into a grid style. It is a very good idea which I have put on my todo list as well.
                  https://forum.magicmirror.builders/topic/10498/magic-mirror-redesign-wip-d/2?_=1588662144678

                  Apart from that, most of what you are showing COULD be done using the current format. But I guess changing to a grid display would be easier.

                  How to troubleshoot modules
                  MMM-soccer v2, MMM-AVStock

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dsmigl @lavolp3
                    last edited by

                    @lavolp3 Thanks! I loaded up a new MM build today and started messing with the configs using this one as a reference and so far I am liking the results. Similar to what I was originally aiming for. Much appreciated for pointing this out!

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