<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Module not updating css in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430534#M22669</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184454"&gt;@JulJakobsen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you be able to post an example page with the issue?&lt;/P&gt;
&lt;P&gt;If I am reading this correctly, both modules are being used on the same page.&amp;nbsp; If that is the case, it is important to note that the css is not scoped to a module so the css will cascade as expected with the last rule winning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103660"&gt;@piersg&lt;/a&gt; might have more educated insights than mine &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Apr 2021 16:41:30 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2021-04-22T16:41:30Z</dc:date>
    <item>
      <title>Module not updating css</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430255#M22636</link>
      <description>&lt;P&gt;I have created two modules that are very similar but have slight differences.&lt;BR /&gt;They are both a background image with a heading and text,&lt;BR /&gt;though the newest one has a smaller width and padding.&lt;BR /&gt;They have different names but are in the same location.&lt;BR /&gt;What i don't understand is that when i use the module in the page-editor, it displays the styles of the first/old module, even though i use the new module. When i publish the page, it also displays the styles of the new one.&lt;BR /&gt;&lt;BR /&gt;Here are the styles for the first/old one:&lt;BR /&gt;.img-bcg-textarea h2 {&lt;BR /&gt;font-family: 'Montserrat', sans-serif;&lt;BR /&gt;color: #9DB8FE;&lt;BR /&gt;font-size: 40px;&lt;BR /&gt;width: 500px;&lt;BR /&gt;word-break: break-word;&lt;BR /&gt;padding-left: 2rem;&lt;BR /&gt;padding-right: 4rem;&lt;BR /&gt;width: 100%;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here are the styles for the new module:&lt;BR /&gt;.img-bcg-textarea h2 {&lt;BR /&gt;font-family: 'Montserrat', sans-serif;&lt;BR /&gt;color: #9DB8FE;&lt;BR /&gt;font-size: 40px;&lt;BR /&gt;word-break: break-word;&lt;BR /&gt;padding-left: 2rem;&lt;BR /&gt;padding-right: 1rem;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;They are both in the module.css&amp;nbsp;adjacent to the html-files for the connected module.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 08:33:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430255#M22636</guid>
      <dc:creator>JulJakobsen</dc:creator>
      <dc:date>2021-04-22T08:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Module not updating css</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430534#M22669</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184454"&gt;@JulJakobsen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you be able to post an example page with the issue?&lt;/P&gt;
&lt;P&gt;If I am reading this correctly, both modules are being used on the same page.&amp;nbsp; If that is the case, it is important to note that the css is not scoped to a module so the css will cascade as expected with the last rule winning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/55480"&gt;@jonchim&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103660"&gt;@piersg&lt;/a&gt; might have more educated insights than mine &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 16:41:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430534#M22669</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-04-22T16:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Module not updating css</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430550#M22675</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/184454"&gt;@JulJakobsen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is my guess too, that both modules are on the page and the second set of css taking precedence. But if you want to send us a link we can take a closer look&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 17:16:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Module-not-updating-css/m-p/430550#M22675</guid>
      <dc:creator>jonchim</dc:creator>
      <dc:date>2021-04-22T17:16:12Z</dc:date>
    </item>
  </channel>
</rss>

