<?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[Kamal Hinduja : How do I override CSS &#x2F; styles of modules ?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am Kamal Hinduja based Geneva, Switzerland(Swiss).  Can anyone share their experience How to  override CSS / styles of modules ?</p>
<p dir="auto">Thanks, Regards</p>
<p dir="auto">Kamal Hinduja Geneva, Switzerland</p>
]]></description><link>https://forum.magicmirror.builders/topic/19905/kamal-hinduja-how-do-i-override-css-styles-of-modules</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 21:15:38 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19905.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Oct 2025 06:40:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Kamal Hinduja : How do I override CSS &#x2F; styles of modules ? on Wed, 08 Oct 2025 20:27:13 GMT]]></title><description><![CDATA[<p dir="auto">Also, some modules document their css styles,<br />
Some you have to look for a CSS file in their files list<br />
And some you have to use the developers window to discover them</p>
<p dir="auto">There are no rules enforced here by MagicMirror</p>
]]></description><link>https://forum.magicmirror.builders/post/128472</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128472</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 08 Oct 2025 20:27:13 GMT</pubDate></item><item><title><![CDATA[Reply to Kamal Hinduja : How do I override CSS &#x2F; styles of modules ? on Wed, 08 Oct 2025 20:28:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kamal12362" aria-label="Profile: kamal12362">@<bdi>kamal12362</bdi></a> the system is designed as a stack of css settings</p>
<p dir="auto">css/main.css is loaded first<br />
Then modules can load their own files and use and override whatever in main<br />
Then<br />
css/custom.css is loaded last, there you can override anything loaded before</p>
<p dir="auto">A css statement is</p>
<pre><code>Selector clause {
Style Settings
}
</code></pre>
<p dir="auto">The selector clause selects the elements the style settings will be applied to</p>
<p dir="auto">A selector clause can be very complex<br />
Here is one from my MMM-Config module, to hide a generated label</p>
<pre><code>.possibly-hidden-tab div:nth-child(2)  &gt; div &gt; div &gt;div &gt;ul &gt;li:only-child &gt;a[rel*="Item%201"] {
  display: none;
}
</code></pre>
<p dir="auto">One thing to remember, css ALWAYS selects ALL the matching elements in the entire page</p>
<p dir="auto">You can also use the browser developers window to see and test changes to the styles on specific elements, to determine what should go in custom.css</p>
<p dir="auto">See the second link in my signature below, for a quick starter topic on that</p>
]]></description><link>https://forum.magicmirror.builders/post/128470</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128470</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 08 Oct 2025 20:28:05 GMT</pubDate></item></channel></rss>