<?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[modifying css to only one instance of a module]]></title><description><![CDATA[<p dir="auto">So I have 2 instances of the darkskyForecast split on my mirror, one for current (top left)and one for hourly/daily (top right). I am attempting to modify the margins/border/padding for the first instance but any reference I make is modifying both. IS there a super simple way to target one versus the other that I’m too blind to find by searching? thanks in advance!</p>
]]></description><link>https://forum.magicmirror.builders/topic/11097/modifying-css-to-only-one-instance-of-a-module</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 15:51:52 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11097.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Sep 2019 03:13:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to modifying css to only one instance of a module on Thu, 05 Sep 2019 02:22:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> got it! thanks guys, I’m slowly building confidence to poke around more and tweak. And annoy my wife by constantly tinkering ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/60916</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60916</guid><dc:creator><![CDATA[N3RD]]></dc:creator><pubDate>Thu, 05 Sep 2019 02:22:12 GMT</pubDate></item><item><title><![CDATA[Reply to modifying css to only one instance of a module on Thu, 05 Sep 2019 00:41:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/n3rd" aria-label="Profile: N3RD">@<bdi>N3RD</bdi></a> modules are numbered from top to bottom in config.js<br />
Also see the elements tab in the developers window</p>
]]></description><link>https://forum.magicmirror.builders/post/60913</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60913</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 05 Sep 2019 00:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to modifying css to only one instance of a module on Thu, 05 Sep 2019 00:16:13 GMT]]></title><description><![CDATA[<p dir="auto">@strawberry-3-141 thanks for the tip! Now to sound even more newb, how do I read the DOM??</p>
]]></description><link>https://forum.magicmirror.builders/post/60910</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60910</guid><dc:creator><![CDATA[N3RD]]></dc:creator><pubDate>Thu, 05 Sep 2019 00:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to modifying css to only one instance of a module on Wed, 04 Sep 2019 11:46:55 GMT]]></title><description><![CDATA[<p dir="auto">@strawberry-3-141 thanks… didn’t know we could use the identifier…</p>
]]></description><link>https://forum.magicmirror.builders/post/60869</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60869</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 04 Sep 2019 11:46:55 GMT</pubDate></item><item><title><![CDATA[Reply to modifying css to only one instance of a module on Wed, 04 Sep 2019 05:45:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/n3rd" aria-label="Profile: N3RD">@<bdi>N3RD</bdi></a> every module has a wrapper with an id. This is is the module identifier e.g. <code>module_1_clock</code>. There is no need to modify files. You can then target specifically that instance in CSS.</p>
<pre><code>#module_1_clock {
    margin: 20px;
}
</code></pre>
<p dir="auto">you can find out the identifier in the DOM.</p>
]]></description><link>https://forum.magicmirror.builders/post/60846</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60846</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Wed, 04 Sep 2019 05:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to modifying css to only one instance of a module on Wed, 04 Sep 2019 11:47:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/n3rd" aria-label="Profile: N3RD">@<bdi>N3RD</bdi></a> <s>make a copy of the module folder under another name.<br />
Then the css can be against two names<br />
U have to rename the module.js to match the folder name, AND edit the module.js and change the registration line name to match as well</s></p>
<p dir="auto">see strawberry’s response below</p>
]]></description><link>https://forum.magicmirror.builders/post/60843</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/60843</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 04 Sep 2019 11:47:33 GMT</pubDate></item></channel></rss>