• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.0k 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 Sep 11, 2017, 7:55 PM

    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 Sep 12, 2017, 3:46 PM Reply Quote 0
    • J Offline
      j.e.f.f Project Sponsor Module Developer @ArkantosArk
      last edited by Sep 12, 2017, 3:46 PM

      @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 Sep 12, 2017, 7:18 PM Reply Quote 0
      • A Offline
        ArkantosArk @j.e.f.f
        last edited by Sep 12, 2017, 7:18 PM

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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          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