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.

    Space Between Two Modules

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 3.1k 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
      ArkantosArk
      last edited by

      Hi, I’m trying to add some space between two different modules following the instructions here ( https://forum.magicmirror.builders/topic/2435/space-between-analog-clock-and-data/2) , but I can’t really make it work.

      Somebody knows a simple way to add space between two different modules ( compliments and newsfeed in this case) ?.

      0_1505159657406_Picture.jpg

      Thanks!

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @ArkantosArk
        last edited by

        @ArkantosArk Assuming both modules are configured for the same region, you can add some bottom margin in custom.css, as follows:

        .module.compliments {
          margin-bottom: 50px; /* play with this until you're happy. */
        }
        

        Keep in mind that there is likely already some margin defined – this will override whatever is set – so it’s possible that 50px is actually LESS than what is there. Keep playing with the number until you’re happy.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          ArkantosArk @j.e.f.f
          last edited by

          @j.e.f.f It worked! thank you!

          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
            OSZAR »