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.

    Change the regions positions

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 2.2k Views 1 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.
    • Piranha1605P Offline
      Piranha1605
      last edited by

      Here is an example .css to change the regions positions. You can move and position the regions freely.

      Unbenannt.jpg

      /**
       * Region Definitions.
       */
      
      .region.bottom.bar {
      background : gray;
      position: absolute;
      width: 50%;
      }
      
      .region.top.bar {
      background : gray;
      position: absolute;
      width: 50%;
      }
      
      .region.top.right {
      background : green;
      margin-right: 100px;
      margin-top: 100px;
      }
      
      .region.top.left{
      background : red;
      margin-left: 100px;
      margin-top: 100px;
      }
      
      .region.top.center {
      background : blue;
      *margin-left: 100px;
      *margin-top: 100px;
      }
      
      .region.bottom.right {
      background : green;
      margin-right: 100px;
      margin-bottom: 100px;
      }
      
      .region.bottom.center {
      background : blue;
      margin-bottom: 100px;
      }
      
      .region.bottom.left {
      background : red;
      margin-left: 100px;
      margin-bottom: 100px;
      }
      
      .region.third {
      background : cyan;
      }
      
      .region.middle.center {
      background : cyan;
      margin-bottom: 100px;
      text-align: center;
      position: absolute;
      width: 45%;
      height: 33%;
      left: 1100px;
      }
      
      .region.upper.third {
      background : yellow;
      margin-bottom: 100px;
      text-align: center;
      position: absolute;
      width: 45%;
      height: 33%;
      left: 1100px;
      }
      
      .region.lower.third {
      background : magenta;
      text-align: center;
      position: absolute;
      width: 45%;
      height: 33%;
      left: 1100px;
      }
      
      1 Reply Last reply Reply Quote 6
      • G gonzonia referenced this topic on
      • G gonzonia referenced this topic on
      • 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