• 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.

2 modules side by side

Scheduled Pinned Locked Moved Solved Troubleshooting
9 Posts 5 Posters 1.4k Views 5 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.
  • G Offline
    GodSmackedOrange @MMRIZE
    last edited by Sep 28, 2023, 12:34 PM

    @MMRIZE Never Mind, I’ve got it looking kinda of right now, I have added 2 more lists, so now I have travel time, list1, list 2 and list 3, only thing left is maybe if I could add some padding between them?

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdetweil @GodSmackedOrange
      last edited by Sep 28, 2023, 12:35 PM

      @GodSmackedOrange well center is the center region,

      top is across all left/center/right

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      G 1 Reply Last reply Sep 28, 2023, 12:39 PM Reply Quote 0
      • G Offline
        GodSmackedOrange @sdetweil
        last edited by Sep 28, 2023, 12:39 PM

        @sdetweil @MMRIZE

        Got it guys,

        So I have MMM-GoogleTravelTimes and 3x MMM-AnyLists all in the top_center,

        I used the following code from MMRIZE and added a margin to creating padding between modules, code below -

        .region.top.center .container .module {
        float: left;
        max-width: 32%;
        margin: 0 50px;
        }

        Thanks guys!!

        B 1 Reply Last reply Feb 20, 2024, 5:30 PM Reply Quote 0
        • S sdetweil referenced this topic on Oct 10, 2023, 1:59 AM
        • B Offline
          bertories @GodSmackedOrange
          last edited by Feb 20, 2024, 5:30 PM

          @GodSmackedOrange said in 2 modules side by side:

          .region.top.center .container .module {
          float: left;
          max-width: 32%;
          margin: 0 50px;
          }

          I tried this along with another post and I get the same thing. The two weather modules go next to each other, but they end up in the same spot. The one module isn’t at the same hieght as the other.

          https://www.dropbox.com/scl/fi/377vilalfvri9btnyc195/Screenshot-5.png?rlkey=77qpb4f05qh5zp6iqfa8e28o0&dl=0

          B 1 Reply Last reply Feb 20, 2024, 10:50 PM Reply Quote 0
          • B Offline
            BKeyport Module Developer @bertories
            last edited by Feb 20, 2024, 10:50 PM

            Just a FYI, it may also work thusly:

            /* adjust modules to display side by side */
            .MMM-ValuesByNotification, .MMM-OpenWeatherForecast {
            	display: inline-flex;
            	margin-right: 5px;
            	margin-left: 5px;
            }
            

            the catch is that you have to have the modules in your config in the exact order you do in this css entry.

            The "E" in "Javascript" stands for "Easy"

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