<?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[How to get 2 modules side by side?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">i have two instances of the MMM-PublicTransportBerlin Module.</p>
<pre><code>{
			module: 'MMM-PublicTransportBerlin',
			disabled : false,
			position: 'bottom_right',
			config: {
				name: 'Leopoldplatz',
				stationId: '900000009102',
				hidden: false,
				ignoredStations: [],
				//ignoredLines: ['U5', 'U8', 'S75'],               
				excludedTransportationTypes: 'bus', //suburban,subway   
				travelTimeToStation: 8,
				interval: 120000,
				departureMinutes: 15,          
				maxDepartures: 12,
				marqueeLongDirections: true,
				showColoredLineSymbols: true,  
				useColorForRealtimeInfo: true,
				showTableHeaders: true,
				showTableHeadersAsSymbols: true,
				maxUnreachableDepartures: 3,    
				maxReachableDepartures: 7,
				fadeUnreachableDepartures: true,
				fadeReachableDepartures: true,
				fadePointForReachableDepartures: 0.25,
				excludeDelayFromTimeLabel: true
			}
		},
		{
			module: 'MMM-PublicTransportBerlin',
			disabled : false,
			position: 'bottom_right',
			config: {
				name: 'Leopoldplatz',
				stationId: '900000009104',
				hidden: false,
				ignoredStations: [],
				//ignoredLines: ['U5', 'U8', 'S75'],               
				excludedTransportationTypes: 'bus', //suburban,subway   
				travelTimeToStation: 8,
				interval: 120000,
				departureMinutes: 15,          
				maxDepartures: 12,
				marqueeLongDirections: true,
				showColoredLineSymbols: true,  
				useColorForRealtimeInfo: true,
				showTableHeaders: true,
				showTableHeadersAsSymbols: true,
				maxUnreachableDepartures: 3,    
				maxReachableDepartures: 7,
				fadeUnreachableDepartures: true,
				fadeReachableDepartures: true,
				fadePointForReachableDepartures: 0.25,
				excludeDelayFromTimeLabel: true
			}
		},
</code></pre>
<p dir="auto">As you can see I want them both in the bottom_right. For now they align <s>horizontally</s> vertically but I don’t have space for that. Side by side (<s>vertically</s> horizontally) is enough space and it would look much better.</p>
<p dir="auto">Unfortunately I don’t have a clue how to do it. Any help appreciated.</p>
]]></description><link>https://forum.magicmirror.builders/topic/6746/how-to-get-2-modules-side-by-side</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 05:31:45 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6746.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 10 Mar 2018 08:53:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to get 2 modules side by side? on Tue, 20 Feb 2024 16:50:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bananabro" aria-label="Profile: BananaBro">@<bdi>BananaBro</bdi></a></p>
<p dir="auto">Re: <a href="/topic/6746/how-to-get-2-modules-side-by-side">How to get 2 modules side by side?</a></p>
<p dir="auto">I am trying to have my Weather modules next to each other. I get close following this post, but I can’t seem to get them next to each other. I have played with the % on width and things and I can’t get the tops even.</p>
<p dir="auto">.weather {<br />
display: inline-block;<br />
width: 47%;<br />
max-width: 47%;<br />
min-width: 47%;<br />
}<br />
.weather:first-child {<br />
margin-right: 6%;<br />
}<br />
.region.top.right {<br />
width: 600px;<br />
min-width: 600px;<br />
max-width: 600px;<br />
}</p>
<p dir="auto">Link to image:<br />
<a href="https://www.dropbox.com/scl/fi/377vilalfvri9btnyc195/Screenshot-5.png?rlkey=77qpb4f05qh5zp6iqfa8e28o0&amp;dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dropbox.com/scl/fi/377vilalfvri9btnyc195/Screenshot-5.png?rlkey=77qpb4f05qh5zp6iqfa8e28o0&amp;dl=0</a></p>
<p dir="auto">Thank you,</p>
]]></description><link>https://forum.magicmirror.builders/post/115741</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115741</guid><dc:creator><![CDATA[bertories]]></dc:creator><pubDate>Tue, 20 Feb 2024 16:50:26 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sun, 11 Mar 2018 18:38:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j.e.f.f" aria-label="Profile: j.e.f.f">@<bdi>j.e.f.f</bdi></a> really appreciate your help!</p>
<p dir="auto"><img src="/assets/uploads/files/1520793262125-bildschirmfoto-von-2018-03-11-19-33-15.png" alt="0_1520793257773_Bildschirmfoto von »2018-03-11 19-33-15«.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">this is my result for now!</p>
<pre><code>.region.bottom.right {
  width: 720px;
  min-width: 720px;
  max-width: 720px;
}

.MMM-PublicTransportBerlin {
  display: inline-block;
  width: 45%;
  max-width: 45%;
  min-width: 45%;
  margin-left: 5%;
}

.MMM-PublicTransportBerlin:first-child {
  margin-right: 5%;
}

</code></pre>
<p dir="auto">And this is my custom css if anyone is interested. I had to split the margin otherwise there was no space between the two instances.</p>
]]></description><link>https://forum.magicmirror.builders/post/36903</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36903</guid><dc:creator><![CDATA[BananaBro]]></dc:creator><pubDate>Sun, 11 Mar 2018 18:38:23 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sun, 11 Mar 2018 08:06:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bananabro" aria-label="Profile: BananaBro">@<bdi>BananaBro</bdi></a> try assigning more width to the bottom_right region:</p>
<pre><code>.region.bottom.right {
  width: 800px;
  min-width: 800px;
  max-width: 800px;
}
</code></pre>
<p dir="auto">Adjust <code>800px</code> until you are happy</p>
]]></description><link>https://forum.magicmirror.builders/post/36872</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36872</guid><dc:creator><![CDATA[j.e.f.f]]></dc:creator><pubDate>Sun, 11 Mar 2018 08:06:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sun, 11 Mar 2018 07:55:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j.e.f.f" aria-label="Profile: j.e.f.f">@<bdi>j.e.f.f</bdi></a> thx for the help. i tried to play with the percentages but it breaks the layout of the module.  is there a possibility to grant more space in total?</p>
]]></description><link>https://forum.magicmirror.builders/post/36871</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36871</guid><dc:creator><![CDATA[BananaBro]]></dc:creator><pubDate>Sun, 11 Mar 2018 07:55:35 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sun, 11 Mar 2018 00:49:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bananabro" aria-label="Profile: BananaBro">@<bdi>BananaBro</bdi></a> to adjust the space in between, play with the percentages. The 49% value is the width of the modules, and the 2% is the space in between. Adjust them so the total adds up to 100% — in this case, 2 x 49 + 2. So if you wanted more space in between — say you increase the 2% value to 6% then you would decrease the module width from 49% to 47%. Keep adjusting until you are happy.</p>
<p dir="auto">As for the start up time, I haven’t noticed custom.css causing abnormally long startup time, and my custom.css file has quite a lot in it. Could be something else going on.</p>
]]></description><link>https://forum.magicmirror.builders/post/36863</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36863</guid><dc:creator><![CDATA[j.e.f.f]]></dc:creator><pubDate>Sun, 11 Mar 2018 00:49:48 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sat, 10 Mar 2018 23:08:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/j.e.f.f" aria-label="Profile: j.e.f.f">@<bdi>j.e.f.f</bdi></a> thanks thats already looking very promising.</p>
<p dir="auto"><img src="/assets/uploads/files/1520723123313-bildschirmfoto-von-2018-03-11-00-04-18.png" alt="0_1520723117961_Bildschirmfoto von »2018-03-11 00-04-18«.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">as you can see both instances of the MMM-PublicTransportBerlin module are side by side. Now it would be nice if there would be a little bit space between them.</p>
<p dir="auto">Maybe its just coincidence but my Mirror took ages to load. Does a custom css always slow down the first startup?</p>
]]></description><link>https://forum.magicmirror.builders/post/36861</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36861</guid><dc:creator><![CDATA[BananaBro]]></dc:creator><pubDate>Sat, 10 Mar 2018 23:08:36 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sat, 10 Mar 2018 22:04:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bananabro" aria-label="Profile: BananaBro">@<bdi>BananaBro</bdi></a> Try this in your custom CSS:</p>
<pre><code>.MMM-PublicTransportBerlin {
  display: inline-block;
  width: 49%;
  max-width: 49%;
  min-width: 49%;
}

.MMM-PublicTransportBerlin:first-child {
  margin-right: 2%;
}
</code></pre>
<p dir="auto">It may need a bit of tweaking to get it to work right… If it doesn’t work as-is, post a screenshot and we’ll take it from there.</p>
]]></description><link>https://forum.magicmirror.builders/post/36855</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36855</guid><dc:creator><![CDATA[j.e.f.f]]></dc:creator><pubDate>Sat, 10 Mar 2018 22:04:16 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sat, 10 Mar 2018 16:42:47 GMT]]></title><description><![CDATA[<p dir="auto">Sry I mixed up horizontally and vertically :D<br />
Of course I meant it the other way around!<br />
My config and the rest of the text should have cleared that out though.</p>
]]></description><link>https://forum.magicmirror.builders/post/36827</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36827</guid><dc:creator><![CDATA[BananaBro]]></dc:creator><pubDate>Sat, 10 Mar 2018 16:42:47 GMT</pubDate></item><item><title><![CDATA[Reply to How to get 2 modules side by side? on Sat, 10 Mar 2018 16:03:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bananabro" aria-label="Profile: BananaBro">@<bdi>BananaBro</bdi></a> just use the same region name, e.g. “bottom_right”, for both modules and they will be automatically stacked vertically.</p>
]]></description><link>https://forum.magicmirror.builders/post/36823</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36823</guid><dc:creator><![CDATA[Alvinger]]></dc:creator><pubDate>Sat, 10 Mar 2018 16:03:44 GMT</pubDate></item></channel></rss>