Read the statement by Michael Teeuw here.
Module position
-
Hello,
I’m a novice, now I’ve built the first mirror. I want to position a module in a certain area, I tried with:
module: “MMM-MoonPhase”,
position: {
left: calc (100 vh - 50%),
top: calc (100wv - 40%)
}
config: {But it does not work. How should the code be written? Thanks
-
@George Hi, you use the defined “regions”: https://forum.magicmirror.builders/topic/286/regions
Like this, this is from my config:{ disabled: false, module: "MMM-MoonPhase", position: "top_right", // This is the region... config: { updateInterval: 43200000, hemisphere: "N", resolution: "detailed", basicColor: "white", title: true, phase: true, x: 150, y: 150, alpha: 0.7 } }, -
@Snille , thanks for the reply. I want to partially overlap another module over the “Moon” module. For this I need a positioning with coordinates, otherwise they will not overlap. Do you have any idea how I can do it?
-
@George Oh, no, not really, but I’m sure it’s possible with CSS, so it would be in your “custom.css” file you should do what’s needed…
Maybe some one else knows? :)
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