<?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[Adding new region positions top_center1 and top_center2]]></title><description><![CDATA[<p dir="auto">I use my magic mirror in landscape format. And I two place four modules side by side. My idea was to divide the top_center position in two.</p>
<p dir="auto">Therefore I added new region definitions in the custom.css:</p>
<pre><code>.region.top.center1 {
  left: 33%;
  -moz-transform: translateX(-33%);
  -o-transform: translateX(-33%);
  -webkit-transform: translateX(-33%);
  -ms-transform: translateX(-33%);
  transform: translateX(-33%);
}

.region.top.center2 {
  left: 60%;
  -moz-transform: translateX(-33%);
  -o-transform: translateX(-33%);
  -webkit-transform: translateX(-33%);
  -ms-transform: translateX(-33%);
  transform: translateX(-33%);
}

.region.top.center1,
.region.top.center2 {
  top: 100%;
}
</code></pre>
<p dir="auto">And use in the config.js</p>
<pre><code>module: 'MMM-Fuel',
position: 'top_center1', 
config: {
</code></pre>
<p dir="auto">Of course, this doesn’t work. I read something, about a region class definition. But I didn’t found, what else I have to do. Any ideas what is missing?</p>
]]></description><link>https://forum.magicmirror.builders/topic/2128/adding-new-region-positions-top_center1-and-top_center2</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 12:10:05 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2128.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Mar 2017 20:58:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Adding new region positions top_center1 and top_center2 on Wed, 03 May 2017 15:19:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zeular" aria-label="Profile: zeular">@<bdi>zeular</bdi></a> Yeah, that’s the way I did it too.</p>
]]></description><link>https://forum.magicmirror.builders/post/21086</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21086</guid><dc:creator><![CDATA[sindbad6]]></dc:creator><pubDate>Wed, 03 May 2017 15:19:39 GMT</pubDate></item><item><title><![CDATA[Reply to Adding new region positions top_center1 and top_center2 on Wed, 03 May 2017 13:30:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sindbad6" aria-label="Profile: sindbad6">@<bdi>sindbad6</bdi></a> said in <a href="/post/18057">Adding new region positions top_center1 and top_center2</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yawns" aria-label="Profile: yawns">@<bdi>yawns</bdi></a> : Thanks a lot, that’s it. Now it works.</p>
</blockquote>
<p dir="auto"><s>Hi<br />
I can’t get it to work, what did you do in the index.html? My modules shows up and then dissapears…</s></p>
<p dir="auto">EDIT: Got it! If someone else want to know:</p>
<pre><code>		div class="region top center"&gt;&lt;div class="container"&gt;&lt;/div&gt;&lt;/div&gt;
		div class="region top center1"&gt;&lt;div class="container"&gt;&lt;/div&gt;&lt;/div&gt;
		div class="region top center2"&gt;&lt;div class="container"&gt;&lt;/div&gt;&lt;/div&gt;
		div class="region top right"&gt;&lt;div class="container"&gt;&lt;/div&gt;&lt;/div&gt;

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/21079</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21079</guid><dc:creator><![CDATA[zeular]]></dc:creator><pubDate>Wed, 03 May 2017 13:30:57 GMT</pubDate></item><item><title><![CDATA[Reply to Adding new region positions top_center1 and top_center2 on Wed, 22 Mar 2017 21:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yawns" aria-label="Profile: yawns">@<bdi>yawns</bdi></a> : Thanks a lot, that’s it. Now it works.</p>
]]></description><link>https://forum.magicmirror.builders/post/18057</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/18057</guid><dc:creator><![CDATA[sindbad6]]></dc:creator><pubDate>Wed, 22 Mar 2017 21:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to Adding new region positions top_center1 and top_center2 on Wed, 22 Mar 2017 21:01:14 GMT]]></title><description><![CDATA[<p dir="auto">I never tried, but I guess you need to edit index.html located in MagicMirror root folder to define the new regions</p>
]]></description><link>https://forum.magicmirror.builders/post/18056</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/18056</guid><dc:creator><![CDATA[yawns]]></dc:creator><pubDate>Wed, 22 Mar 2017 21:01:14 GMT</pubDate></item></channel></rss>