Read the statement by Michael Teeuw here.
Alert box location
-
@bhepler I tried… but looks like the position value have no effect on the alert module…
-
the alert module is a bit of an odd one. It has a specific config option for the position:
modules: [ ... { module: 'alert', config: { position: "right" } } ]
But this will only allow you to change it from center to left or right.
For more info, check: https://github.com/MichMich/MagicMirror/tree/master/modules/default/alert
-
@MichMich yeah already saw that… but I would like to display it on the center of the height too!
My MM is a 42" monitor in portrait… so having the alert at the top is not very usefull!
Any way the module alert can have another option to put it center/center instead of top/left,right,center ?
-
I just did a quick test on my laptop.
Edit~/MagicMirror/css/custom.css
and add the following:.ns-box { top: 50%; }
This should move the alert box to the vertical center. You can use the config position @MichMich mentioned to move to the horizontal center.
-
@yawns AWESOME ;)
thanks!