<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Change default module width]]></title><description><![CDATA[<p dir="auto">I’ve got 3 modules on the right side of my screen. For some reason the WifiPass word module extends itself to match the width of the measure module even though that means lots of dead space. Any way to force it to use only what it needs?</p>
<p dir="auto"><img src="https://www.dropbox.com/s/0avjuvxna2jp7sh/Capture9.JPG?dl=1" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/17407/change-default-module-width</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 19:23:11 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17407.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 26 Nov 2022 23:09:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change default module width on Mon, 28 Nov 2022 11:52:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> I was able to solve some of the width wonkiness I was having.  Figuring out the CSS is definitely a project, as you say, it costs nothing to backup my custom.css, try something new, the restore the old one if I borked it somehow.</p>
]]></description><link>https://forum.magicmirror.builders/post/106224</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106224</guid><dc:creator><![CDATA[eqpaisley]]></dc:creator><pubDate>Mon, 28 Nov 2022 11:52:47 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Mon, 28 Nov 2022 05:42:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eqpaisley" aria-label="Profile: eqpaisley">@<bdi>eqpaisley</bdi></a> There’s plenty of CSS tutorials and tools on the web. Feel free to play. It’s really neat once you get into it. I learn something new every time I look into it. Enjoy!</p>
]]></description><link>https://forum.magicmirror.builders/post/106222</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106222</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Mon, 28 Nov 2022 05:42:43 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 16:50:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> thanks to you and <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> – really appreciate you both patiently helping me with the basics.  I think my previous setup looked fine :)</p>
]]></description><link>https://forum.magicmirror.builders/post/106164</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106164</guid><dc:creator><![CDATA[eqpaisley]]></dc:creator><pubDate>Sun, 27 Nov 2022 16:50:37 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 15:44:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eqpaisley" aria-label="Profile: eqpaisley">@<bdi>eqpaisley</bdi></a> as sam said, they’re different heights… As you can see, I also don’t have a background shade and/or a background on my mirror, so it eliminates most of the wonky right out of the gate.</p>
]]></description><link>https://forum.magicmirror.builders/post/106159</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106159</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Sun, 27 Nov 2022 15:44:05 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 13:19:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eqpaisley" aria-label="Profile: eqpaisley">@<bdi>eqpaisley</bdi></a> well their output is different height.</p>
<p dir="auto">to get them the same physical height you would have to add more content  make the fonts bigger or change the vertical centering of the text.</p>
<p dir="auto">all of which I think looks worse!</p>
<p dir="auto">floating right works great when u have the same module repeated. I did this for a Rome train schedule a couple years ago</p>
]]></description><link>https://forum.magicmirror.builders/post/106156</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106156</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 27 Nov 2022 13:19:12 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 12:55:34 GMT]]></title><description><![CDATA[<p dir="auto">I tried this out and it was MOSTLY successful - I can get multiple inline modules on my top bar.  But they look pretty wonky.  Did you have to do anything in your CSS to get them to be the same height?</p>
<p dir="auto">![alt text](<img src="/assets/uploads/files/1669553726848-50d576fc-e9d1-441b-a92d-8c8ed2258c9d-image.png" alt="50d576fc-e9d1-441b-a92d-8c8ed2258c9d-image.png" class=" img-fluid img-markdown" /> image url)</p>
]]></description><link>https://forum.magicmirror.builders/post/106155</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106155</guid><dc:creator><![CDATA[eqpaisley]]></dc:creator><pubDate>Sun, 27 Nov 2022 12:55:34 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 12:46:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> oh, wow very cool.  I’ll give this a try ty</p>
]]></description><link>https://forum.magicmirror.builders/post/106153</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106153</guid><dc:creator><![CDATA[eqpaisley]]></dc:creator><pubDate>Sun, 27 Nov 2022 12:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 03:21:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eqpaisley" aria-label="Profile: eqpaisley">@<bdi>eqpaisley</bdi></a> Technically yes. This is my top bar.</p>
<p dir="auto"><img src="/assets/uploads/files/1669519065567-5283c134-5d40-4378-8e79-a20b29ba2145-image.png" alt="5283c134-5d40-4378-8e79-a20b29ba2145-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">To do this I made the following changes.</p>
<p dir="auto">in <code>custom.css: </code></p>
<pre><code>/* adjust modules to display side by side */
.MMM-FlipClock, .MMM-Worldclock, .MMM-Multimonth {
	display: inline-flex;
}
</code></pre>
<p dir="auto">in <code>config.js </code> I found that I had to have the modules in the same order and next to each other to function:</p>
<pre><code>		{
			module: 'MMM-FlipClock', // https://github.com/MarcLandis/MMM-FlipClock
			position: 'top_bar',
			config: {
				seperator: ":",
				dateFormat: "dddd - LL",
				displaySeconds: true,
			},
		},
		{
			module: "MMM-Worldclock", // https://github.com/bkeyport/MMM-Worldclock
			position: "top_bar",
			config: {
				offsetTimezone: "UTC",
				style: "bottom",
				clocks: [
					{
						title: "Eastern&lt;br&gt;",
						timezone: "America/New_York",
						timeFormat: "hh:mma[&lt;br&gt;]Do",
					},
					{
						title: "Sydney, AU&lt;br&gt;",
						timezone: "Australia/Sydney",
						timeFormat: "hh:mma[&lt;br&gt;]Do",
					},
					{ 
						title: "World&lt;br&gt;",
						timezone: "UTC",
						timeFormat: "HHmm[&lt;br&gt;]Do",
					},
				]
			},
		},
		
		{
 			module: "MMM-Multimonth", // https://github.com/BKeyport/MMM-Multimonth
			position: "top_bar",
			config: {
				startMonth: -1, // Define when you start from current month (negative is before current, zero is current, positive is in future)
				monthCount: 3, //  How many months to display
				monthsVertical: false, // Whether to arrange the months vertically (true) or horizontally (false).
				//repeatWeekdaysVertical: true, // Whether to repeat the week days in each month in vertical mode. Ignored in horizontal mode.
				weekNumbers: false, // Whether to display the week numbers in front of each week.
				highlightWeekend: false,
				startWeek: 0,
				otherMonths: true,
			}
		},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/106146</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106146</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Sun, 27 Nov 2022 03:21:04 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 00:03:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> Great info, thanks so much. Yeah that’s the module in question.  Can 2 modules occupy 1 area ? Like side by side if they are not as wide as the ones below?  Wondering how much latitude I have.  For now I’ll try the float, thanks .</p>
]]></description><link>https://forum.magicmirror.builders/post/106143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106143</guid><dc:creator><![CDATA[eqpaisley]]></dc:creator><pubDate>Sun, 27 Nov 2022 00:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to Change default module width on Sun, 27 Nov 2022 00:00:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eqpaisley" aria-label="Profile: eqpaisley">@<bdi>eqpaisley</bdi></a> FWIW, that’s as designed. the region takes up the entire space it’s allowed.</p>
<p dir="auto">I’m assuming you’re using <a href="https://github.com/TeraTech/MMM-WiFiPassword" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/TeraTech/MMM-WiFiPassword</a></p>
<p dir="auto">in custom.css</p>
<pre><code>.MMM-WiFiPassword {
	max-width: &lt;width in pixels&gt;px;
}
</code></pre>
<p dir="auto">HOWEVER: the system will align the module left within the region, so you’ll be left with dead space to the right of the module.</p>
<p dir="auto">There might be a compromise. Again, in custom.css:</p>
<pre><code>.MMM-WiFiPassword  .layout-horizontal {
  float: center;
  display: inline;
  padding-right: .5em;
}
</code></pre>
<p dir="auto">Should push the information to center, if I’m reading the code/css correctly.</p>
<p dir="auto">You can play around with the CSS to do what you want. Use developer mode on a web browser to figure out what’s what along with the .css file in the directory of the module.</p>
<p dir="auto">Just remember to put your changes in custom.css, not anywhere else.</p>
]]></description><link>https://forum.magicmirror.builders/post/106142</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106142</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Sun, 27 Nov 2022 00:00:33 GMT</pubDate></item></channel></rss>