Read the statement by Michael Teeuw here.
Mirror smaller than screen (by 6cm) - Possible to alter the image size?
-
Hi there
My mirror is 42 x 27cm, but my screen is 48cm x 27cm, is it possible to reduce the image size by 6cm, in order to make this fit within the mirror itself?
As for the excess screen, not an issue, as will be covered at the bottom with a piece of wood (to hide the Pi, cables, etc).
-
Change the margins in the css file until the modules fit within the frame, should be the easiest way to deal with it.
add
body { margin: marginsize }
To the custom.css and change the margins until you get it to fit
or
body {margin-left: marginsize; margin-right: marginsize}
If you only want to change the width of the displayed area
-
@broberg Thanks, added that to custom.css, however the top displays perfectly (with 250px margin for the top. I added margin-bottom, and cannot for the life of me get the standard module news ticker to appear. The rotating compliments works and displays, but the news ticker is nowhere to be seen.
-
Please try this in custom.css:
body { margin-top: 250px; margin-bottom: 250px; height: calc(100% - 500px); }
That should give a 250px margin from the top and the bottom and it should center the content on screen again. If you play with margin-top or margin-bottom values please adjust the height calculation.
-
@yawns said in Mirror smaller than screen (by 6cm) - Possible to alter the image size?:
Please try this in custom.css:
body { margin-top: 250px; margin-bottom: 250px; height: calc(100% - 500px); }
That should give a 250px margin from the top and the bottom and it should center the content on screen again. If you play with margin-top or margin-bottom values please adjust the height calculation.
Yes, yawns are correct, sorry I missed that.
-
@yawns Thank you, it works flawlessly!
-
I can’t for the life of me work this out how to get the main middle content to remain in the middle. Any help please? How does the calculation work? I’ve managed to get the top content in the right position, and the bottom of the page, but then the middle content is just in the wrong place. :-(
@yawns said in Mirror smaller than screen (by 6cm) - Possible to alter the image size?:
Please try this in custom.css:
body { margin-top: 250px; margin-bottom: 250px; height: calc(100% - 500px); }
That should give a 250px margin from the top and the bottom and it should center the content on screen again. If you play with margin-top or margin-bottom values please adjust the height calculation.