Read the statement by Michael Teeuw here.
What's the correct way to remove any margins from a module?
-
I am using MMM-CalendarExt3 with some fairly limited width. I’d like to remove any margins from it and have it go from edge to edge. In the past, I did this using custom.css, but it seemed hacky. I just tried setting the position to “fullscreen_below” and it removed the margins, but it’s sitting at the very top of the screen. How do I make it appear at the bottom of my screen with no margins or padding?
-
Thanks, I ended up doing this in my custom.css
#module_4_MMM-CalendarExt3 { margin-left: -40px; margin-right: -40px; }It doesn’t seem like the best approach, but it works.
-
@redink in main.css the module wrapper is defined like this
.module { margin-bottom: var(--gap-modules); }so you could override that
.module_name(or class) { margin-bottom: '0px'; }see the second link in my signature below on how to use the developers window elements tab to discover and test changes before copy/pasting them into custom.css
-
Thanks, I ended up doing this in my custom.css
#module_4_MMM-CalendarExt3 { margin-left: -40px; margin-right: -40px; }It doesn’t seem like the best approach, but it works.
-
S sdetweil has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login