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.

    Adding Outline Around Modules

    Scheduled Pinned Locked Moved Troubleshooting
    configurationmodules
    3 Posts 2 Posters 857 Views 2 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.
    • A Offline
      ADavidsohn96
      last edited by

      Hello,
      New to Raspberry Pi and Magic mirror. I am working on a tide chart/weather display for work and was wondering if there is any way to add a thin white border around each individual module in order to create some more separation between information. I have tried adjusting config files (both master and individuals) to no avail. Any suggestions?

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

        @adavidsohn96 you need to adjust css/custom.css and include something like this

        .module {
          border: 1px solid white;
          border-radius: 5px;   
        }
        

        Every module gets a .module class as reference for css.
        ALso have a look at the module MMM-fast-css (something like this). It provides you with style presets.

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

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          ADavidsohn96 @lavolp3
          last edited by

          @lavolp3 Thank you for the quick response. Ill update as soon as i can.

          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