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.

    How can I create a new position?

    Scheduled Pinned Locked Moved Custom CSS
    3 Posts 3 Posters 53 Views 3 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.
    • W Offline
      Wilack
      last edited by sdetweil

      Is it possible to create a new area? I’d like to create a center_middle_lr section. This should allow me that I have in the middle again a division left right. Background: In the middle on the right side I want to display the soccer results and to the left the soccer clubs table
      How can I create this?

      S C 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Wilack
        last edited by sdetweil

        @Wilack

        Yes , you can create any position you like, the code will auto detect and use it validating module positions used
        You edit index.html to
        Make the html for the region
        And custom.css for the css layout (main.css has the existing)

        See the note here under position
        https://docs.magicmirror.builders/modules/configuration.html
        A little further down is the layout of the existing positions shown with different colors

        MagicMirror is displayed as a single web page, so there is not a lot of room!

        I would start with no modules and use colored backgrounds for each region til you get the alignment you want

        Another alternative is using css to move the left edge of a module in middle-center(full width starting at x:0)

        Note that web content can overflow its region, and overlap, or push other content around unexpectedly

        one of the best tools for understanding and manipulating css is the developers window elements tab, see the second link in my signature below for a post on using this.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          chrisfr1976 @Wilack
          last edited by

          @Wilack or you try this module.

          MMM-GlobalPositioner

          I did it a while ago. It is okay if the modules are not much floating in their size.

          Regards, Chris.

          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