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.

    Region background colors

    Scheduled Pinned Locked Moved Custom CSS
    4 Posts 4 Posters 1.8k 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.
    • T Offline
      txajay
      last edited by

      What I’m trying to do is give each background a specific color to visually see how large each region is. This will allow me to see how I want to adjust the width and height of each region. I looked through the main.css file and found styles such as:

      region.top.right
      region.right
      region.top
      region.top.container

      When I set the background color to these styles, it is only changing the background color of the widget, not the entire region itself.

      I basically want to visually see all the different regions, so I can customize them to my liking. Any comments and feedback on this would be appreciated. I do thank you all in advance for your support.

      Thanks.

      brobergB 1 Reply Last reply Reply Quote 0
      • brobergB Offline
        broberg Project Sponsor @txajay
        last edited by

        @txajay they are only as big as the modules, they change after the content. You have to specifically add width/height to the regions to make it work like you intend.

        If a div is empty it doesn’t take up space.

        1 Reply Last reply Reply Quote 1
        • ? Offline
          A Former User
          last edited by

          One more thing, If there is no module in target region, it will not be displayed.

          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer
            last edited by

            You could write a module for regions to show even without modules being in it ;)

            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