Read the statement by Michael Teeuw here.
Make Center Area Less Wide
-
Is there an easy way to make the center area less wide?
I don’t have any modules placed in the center, so it’s a lot of wasted space (1/3rd of the overall space?) and I’d like to reclaim some of that. I’m also not using it as a traditional “mirror” where you’d want to see yourself in the center. It’s for informational display only.
Is there a way to change it from 1/3 of the overall space to, say, 1/4 or something?
I’m assuming this is a “Custom CSS” thing, but I can’t figure out how to make that happen. Is there a tutorial that explains how to resize the columns (not the modules themselves, but the relative width of the columns that contain the modules).
Thanks!
-
@amarand no tutorial that I am aware of… but there are regions/positions defined in main.css
which you can redo in custom.css for those u wish to changeif u look at index.html you will see the layout and the regions
a trick for visualizing the spaces
give each a different background-color setting
-
Is there specific custom.css code I need to use, to make the center column narrower, and the right and left columns wider to fit that space?
-
@amarand i don’t know, never done it.
but you’ll see that center is 100% width, so you will have to make a new left edge too.
for figuring this out read this
https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1625536307526
-
I am so sorry, but is there a MagicMirror related CSS tutorial somewhere that explains all of the possible configuration settings that I can change/override in the custom.css, maybe with examples?
For example, I agree, I think it’d be awesome to be able to change the column background colors to see how things are adjusting, but so far, I’ve only been able to figure out how to change the entire module area color by adding the following to the body section of my custom.css file:
–color-background: #800;
It makes the 60px “gaps” around the outside glaringly obvious (black versus red).
-
@amarand said in Make Center Area Less Wide:
It makes the 60px “gaps” around the outside glaringly obvious (black versus red).
no… the body clause set a 60px border around the screen… which individual background colors won’t fill…
sorry, there are hundreds of settings on the MM ‘web page’
-
This post is deleted! -
This post is deleted! -
@hango That’ll do it, but if I recall correctly, if you set bottom center and top center to 20%, left and right will automatically take up the slack, no need to convert them, conversely, if you set left or right to 40%, the remaining 60% would automatically be split between them.
-
This post is deleted!