<?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: How to defer linked CSS in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/659992#M29343</link>
    <description>&lt;P&gt;Refer to this&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/cms/hubl/functions#require-css" target="_blank"&gt;https://developers.hubspot.com/docs/cms/hubl/functions#require-css&lt;/A&gt;&amp;nbsp;you will see there you can async a CSS file in the following way:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ require_css(get_asset_url("./style.css"), { async: true }) }}&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 05 Jul 2022 10:13:23 GMT</pubDate>
    <dc:creator>KSchuller</dc:creator>
    <dc:date>2022-07-05T10:13:23Z</dc:date>
    <item>
      <title>How to defer linked CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/659900#M29336</link>
      <description>&lt;P&gt;Hi there, can someone please tell me how to defer a CSS file that's linked to a Template.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 06:22:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/659900#M29336</guid>
      <dc:creator>ashu125</dc:creator>
      <dc:date>2022-07-05T06:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to defer linked CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/659992#M29343</link>
      <description>&lt;P&gt;Refer to this&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/cms/hubl/functions#require-css" target="_blank"&gt;https://developers.hubspot.com/docs/cms/hubl/functions#require-css&lt;/A&gt;&amp;nbsp;you will see there you can async a CSS file in the following way:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ require_css(get_asset_url("./style.css"), { async: true }) }}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 05 Jul 2022 10:13:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/659992#M29343</guid>
      <dc:creator>KSchuller</dc:creator>
      <dc:date>2022-07-05T10:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to defer linked CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/660504#M29351</link>
      <description>&lt;P&gt;But the problem is that I am not requiring the css file, I am injecting&amp;nbsp;the css to a template&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="img_20220710_456897.png" style="width: 342px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/69993i8BF986FAB589A6F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="img_20220710_456897.png" alt="img_20220710_456897.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 05:56:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/660504#M29351</guid>
      <dc:creator>ashu125</dc:creator>
      <dc:date>2022-07-06T05:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to defer linked CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/660557#M29355</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/388981"&gt;@ashu125&lt;/a&gt;&amp;nbsp;you can simply unlink the css file there and then include it in the markup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want more control over linked files you will need to HubSpot CLI and edit the module's meta.json file and use &lt;STRONG&gt;css_render_options&amp;nbsp;&lt;/STRONG&gt;-- you can find more details here&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/cms/building-blocks/modules/files" target="_blank"&gt;https://developers.hubspot.com/docs/cms/building-blocks/modules/files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 08:58:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/660557#M29355</guid>
      <dc:creator>KSchuller</dc:creator>
      <dc:date>2022-07-06T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to defer linked CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/660592#M29357</link>
      <description>&lt;P&gt;Yeah, I can do that. Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 10:48:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-defer-linked-CSS/m-p/660592#M29357</guid>
      <dc:creator>ashu125</dc:creator>
      <dc:date>2022-07-06T10:48:12Z</dc:date>
    </item>
  </channel>
</rss>

