<?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 add transparent background to modules]]></title><description><![CDATA[<p dir="auto">I have read many posts describing how this should be done, but I am failing at every turn.  I what to add a transparent background to many of my modules so that the information is easier to read.  I have various images that appear as a background.</p>
<p dir="auto">This is what I have tried in the custom CSS:</p>
<pre><code class="language-css">{
 .calendar {
  background-color:rgba(117, 124, 138, 1);
  opacity: 0.6;
}
}	
</code></pre>
<p dir="auto">Would someone help me out and show me what I am doing wrong?</p>
<p dir="auto">Thanks…</p>
<p dir="auto">Johnny</p>
]]></description><link>https://forum.magicmirror.builders/topic/9168/how-add-transparent-background-to-modules</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 23:47:31 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9168.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Nov 2018 02:58:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How add transparent background to modules on Sun, 02 Dec 2018 20:43:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a><br />
<img src="/assets/uploads/files/1543783268355-css.png" alt="0_1543783267033_css.png" class=" img-fluid img-markdown" /><br />
(Sorry, my captured image was too huge to upload, so I resized, but image became somewhat blurred)</p>
<p dir="auto">add this into your <code>~/MagicMirror/css/custom.css</code></p>
<pre><code>.module.calendar {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
<p dir="auto">If it work,<br />
Instead you can use this also.</p>
<pre><code>.module {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/47605</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47605</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 02 Dec 2018 20:43:16 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 17 Sep 2020 02:39:13 GMT]]></title><description><![CDATA[<p dir="auto">I am not having any success with this either.  Here is my CSS.  Can someone help me out?</p>
<pre><code>body {
	color: #aaa;
}

.dimmed {
  color: #666;
}

.normal {
  color: #999;
}

.bright {
  color: #fff;
}

.module.clock {
  background-color:rbga(255,255,255,0.4);
  border-radius:8px;
  padding:8px;
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/81908</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81908</guid><dc:creator><![CDATA[schwarem]]></dc:creator><pubDate>Thu, 17 Sep 2020 02:39:13 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Fri, 14 Jun 2019 08:41:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/broberg" aria-label="Profile: broberg">@<bdi>broberg</bdi></a> I have sorted it this morning. I really appreciate your taking the time to help me, Thankyou Broberg. So many on here seem unwilling to help. Youre a legend!</p>
]]></description><link>https://forum.magicmirror.builders/post/57961</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57961</guid><dc:creator><![CDATA[JonoGee]]></dc:creator><pubDate>Fri, 14 Jun 2019 08:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 13 Jun 2019 20:12:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonogee" aria-label="Profile: JonoGee">@<bdi>JonoGee</bdi></a></p>
<p dir="auto">Okey,<br />
I see your problem.</p>
<p dir="auto">You have put the <code>.module.currentweather{}</code> within the <code>body{ }</code></p>
<p dir="auto">Just remove the first line <code>body  {</code> and the lonely <code>}</code> before <code>.module.MMM-PushBulletNotifications {</code></p>
<p dir="auto">Then it will work just fine.</p>
<p dir="auto">And btw, You have a lot of stray <code>}</code>-brackets remove them aswell</p>
]]></description><link>https://forum.magicmirror.builders/post/57944</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57944</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Thu, 13 Jun 2019 20:12:06 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 13 Jun 2019 17:28:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/broberg" aria-label="Profile: broberg">@<bdi>broberg</bdi></a> Hi mate. Thanks for taking the time.<br />
I will copy it below… The PushBullet Notification one works fine but ones i mentioned don’t…</p>
<pre><code> body {




.module.currentweather {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}


 }

.module.MMM-PushBulletNotifications {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}



 }

.module.compliments {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}


 }



 }

.module.weatherforecast {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
<p dir="auto">Regards</p>
]]></description><link>https://forum.magicmirror.builders/post/57932</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57932</guid><dc:creator><![CDATA[JonoGee]]></dc:creator><pubDate>Thu, 13 Jun 2019 17:28:03 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 13 Jun 2019 17:08:54 GMT]]></title><description><![CDATA[<p dir="auto">Show us your css code that you are trying to use</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonogee" aria-label="Profile: JonoGee">@<bdi>JonoGee</bdi></a> said in <a href="/post/57928">How add transparent background to modules</a>:</p>
<blockquote>
<p dir="auto">I have tried this format …</p>
<pre><code>.module.calendar {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
<p dir="auto">and it works perfect for most modules but simply will not work for currentweather, weatherforecast or compliments?<br />
Any ideas folks?</p>
</blockquote>
]]></description><link>https://forum.magicmirror.builders/post/57929</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57929</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Thu, 13 Jun 2019 17:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 13 Jun 2019 16:58:24 GMT]]></title><description><![CDATA[<p dir="auto">@Sean said in <a href="/post/47605">How add transparent background to modules</a>:</p>
<blockquote>
<p dir="auto">.module.calendar {<br />
background-color:rgba(0,0,0,0.6);<br />
border-radius:8px;<br />
padding:8px;<br />
}</p>
</blockquote>
<p dir="auto">I have tried this format …</p>
<pre><code>.module.calendar {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
<p dir="auto">and it works perfect for most modules but simply will not work for currentweather, weatherforecast or compliments?<br />
Any ideas folks?</p>
]]></description><link>https://forum.magicmirror.builders/post/57928</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57928</guid><dc:creator><![CDATA[JonoGee]]></dc:creator><pubDate>Thu, 13 Jun 2019 16:58:24 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 06 Dec 2018 14:08:20 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem.<br />
Was searching for this on the forum.<br />
Will try Sean’s solution tonight.</p>
]]></description><link>https://forum.magicmirror.builders/post/47784</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47784</guid><dc:creator><![CDATA[MWel1977]]></dc:creator><pubDate>Thu, 06 Dec 2018 14:08:20 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Tue, 04 Dec 2018 02:14:33 GMT]]></title><description><![CDATA[<p dir="auto">@sean</p>
<p dir="auto">Thank you…that did the trick.</p>
]]></description><link>https://forum.magicmirror.builders/post/47667</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47667</guid><dc:creator><![CDATA[johnny_swindle]]></dc:creator><pubDate>Tue, 04 Dec 2018 02:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Sun, 02 Dec 2018 21:51:56 GMT]]></title><description><![CDATA[<p dir="auto">This bg css is working great @Sean .</p>
<p dir="auto">I actually used this in the <a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> mmm-carousel as a custom css class.</p>
]]></description><link>https://forum.magicmirror.builders/post/47607</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47607</guid><dc:creator><![CDATA[krishnatnl]]></dc:creator><pubDate>Sun, 02 Dec 2018 21:51:56 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Sun, 02 Dec 2018 20:43:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a><br />
<img src="/assets/uploads/files/1543783268355-css.png" alt="0_1543783267033_css.png" class=" img-fluid img-markdown" /><br />
(Sorry, my captured image was too huge to upload, so I resized, but image became somewhat blurred)</p>
<p dir="auto">add this into your <code>~/MagicMirror/css/custom.css</code></p>
<pre><code>.module.calendar {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
<p dir="auto">If it work,<br />
Instead you can use this also.</p>
<pre><code>.module {
  background-color:rgba(0,0,0,0.6);
  border-radius:8px;
  padding:8px;
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/47605</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47605</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 02 Dec 2018 20:43:16 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Sun, 02 Dec 2018 20:19:50 GMT]]></title><description><![CDATA[<p dir="auto">@sean</p>
<p dir="auto">I have attached a screen shot of the output of one of my calendars:</p>
<p dir="auto"><img src="/assets/uploads/files/1543781748556-untitled-2.jpg" alt="0_1543781748679_Untitled-2.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I would like to be able to have the “background” of the calendar a shade of a transparent gray so that I am able to read the text but still be able to tell what is under the gray “background”.</p>
<p dir="auto">I hope I did a better job of explaining what I am attempting to do.  I know it is very important that the appropriate verbiage is used when attempting to explain an issue.  Otherwise everyone remains confused.</p>
<p dir="auto">Again…</p>
<p dir="auto">Thanks for all you help.</p>
<p dir="auto">Johnny</p>
]]></description><link>https://forum.magicmirror.builders/post/47603</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47603</guid><dc:creator><![CDATA[johnny_swindle]]></dc:creator><pubDate>Sun, 02 Dec 2018 20:19:50 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Fri, 30 Nov 2018 00:00:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a><br />
Ok. Let’s start from the first step. What did you mean ‘transparency’ of module? You said for readability, but in that case which you need is ‘non-transparency’ of modules. What did you expect and what have you got really?<br />
Then, all fails of your pervious trial seems somewhat weird. because those css statements  are very simple so it is hard not to work.<br />
Other CSS worked? Like <code>border: 1px solid #F00;</code>? Only background transparency didn’t?</p>
]]></description><link>https://forum.magicmirror.builders/post/47507</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47507</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 30 Nov 2018 00:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 29 Nov 2018 23:28:48 GMT]]></title><description><![CDATA[<p dir="auto">@sean</p>
<p dir="auto">Thank you for the examples.  However neither of the two worked.  If you think of anything else to try, I will implement.</p>
<p dir="auto">Again, thank you for all of your help.</p>
<p dir="auto">Johnny</p>
]]></description><link>https://forum.magicmirror.builders/post/47506</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47506</guid><dc:creator><![CDATA[johnny_swindle]]></dc:creator><pubDate>Thu, 29 Nov 2018 23:28:48 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 29 Nov 2018 00:34:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a></p>
<pre><code>.region &gt; .container {
  background-color: rgba(0,0,0,0.5);
}
</code></pre>
<p dir="auto">Try this.</p>
]]></description><link>https://forum.magicmirror.builders/post/47470</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47470</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 29 Nov 2018 00:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Thu, 29 Nov 2018 07:28:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a></p>
<ul>
<li>maybe missed semicolon(;) on last of css statements;<br />
<strong>background-color: rgba(255,255,255, 0.5);</strong></li>
<li>opacity is not needed. It could make confusing.</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/47469</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47469</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 29 Nov 2018 07:28:29 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Wed, 28 Nov 2018 23:59:16 GMT]]></title><description><![CDATA[<p dir="auto">@sean said in <a href="/post/47439">How add transparent background to modules</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a><br />
@Sean</p>
</blockquote>
<p dir="auto">Thank you for the info.  I added the code to the custom CSS and nothing changed.  I even changed the alpha to 1.0 with no effect.</p>
<p dir="auto">I am using MMM-GooglePhotos for back ground images.  Do you  think that this  module that I am using for the backgrounds is some how “over riding” the custom CSS?</p>
<blockquote>
<pre><code>background-color: rgba(red, green, blue, alpha);
</code></pre>
<ul>
<li>red,green,blue : 0 ~ 255</li>
<li>alpha : 0 ~ 1 (0:transparent, 1:opaque)</li>
</ul>
<p dir="auto">ex)</p>
<pre><code>background-color: rgba(255,255,255, 0.5)
</code></pre>
</blockquote>
]]></description><link>https://forum.magicmirror.builders/post/47468</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47468</guid><dc:creator><![CDATA[johnny_swindle]]></dc:creator><pubDate>Wed, 28 Nov 2018 23:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to How add transparent background to modules on Wed, 28 Nov 2018 08:39:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnny_swindle" aria-label="Profile: johnny_swindle">@<bdi>johnny_swindle</bdi></a></p>
<pre><code>background-color: rgba(red, green, blue, alpha);
</code></pre>
<ul>
<li>red,green,blue : 0 ~ 255</li>
<li>alpha : 0 ~ 1 (0:transparent, 1:opaque)</li>
</ul>
<p dir="auto">ex)</p>
<pre><code>background-color: rgba(255,255,255, 0.5)
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/47439</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/47439</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 28 Nov 2018 08:39:32 GMT</pubDate></item></channel></rss>