<?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 do i add stylesheet to my sections and templates? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130292#M42578</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the code with us!&lt;BR /&gt;&lt;BR /&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146956"&gt;@BarryGrennan&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt; do you have tips to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a great day and thanks so much!&lt;BR /&gt;&lt;BR /&gt;Warmly,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 12:02:15 GMT</pubDate>
    <dc:creator>BérangèreL</dc:creator>
    <dc:date>2025-04-01T12:02:15Z</dc:date>
    <item>
      <title>How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128489#M42542</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;I am trying to add a stylesheet to my section and template. I created a new css+Hubl file in ProjectFolder &amp;gt; CSS &amp;gt; Sections/Templates&amp;nbsp;&lt;BR /&gt;I pick the same name that my Section/Template has starting with an underscore for the CSS file I created.&amp;nbsp;&lt;BR /&gt;In my section, I gave my dnd-section like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% dnd_section
  class="career-main-header-style",
  background_color="",
  width="12"
%}&lt;/LI-CODE&gt;&lt;P&gt;I used that class name in my section to style my section.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.career-main-header-style {
  padding-bottom: 5rem !important;
  background-color: red !important;
}&lt;/LI-CODE&gt;&lt;P&gt;I also add my css filename to ProjectFolder &amp;gt; CSS &amp;gt; Main.css&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/* Sections
Section CSS classes
*/

{% include './sections/_Career_Header_Section.css' %}&lt;/LI-CODE&gt;&lt;P&gt;but the stylesheet is not working and the style doesn't apply to my section.&lt;BR /&gt;is there anything i am missing?&lt;BR /&gt;Is there any way i can style my sections and templates?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 15:40:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128489#M42542</guid>
      <dc:creator>ADuka</dc:creator>
      <dc:date>2025-03-27T15:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128790#M42546</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&lt;BR /&gt;Thanks for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;1. Which template are you using? A HubSpot template or a third-party template?&lt;BR /&gt;2. What is the link to the page you are trying to add CSS to?&lt;BR /&gt;&lt;BR /&gt;For information, here are some resources that might be of interest:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="https://knowledge.hubspot.com/design-manager/create-edit-and-attach-css-files-to-style-your-site" target="_blank"&gt;Create, edit, and attach CSS files to style your site&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://knowledge.hubspot.com/design-manager/understand-the-source-of-a-page-s-styling" target="_blank"&gt;Understand the source of a page's styling&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'd love to put you in touch with some of our Top Experts: Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146956"&gt;@BarryGrennan&lt;/a&gt;&lt;/SPAN&gt; and &amp;nbsp;do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a wonderful weekend and thanks so much in advance for your contributions! &lt;span class="lia-unicode-emoji" title=":red_heart:"&gt;❤️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Warmly,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 08:01:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128790#M42546</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-03-28T08:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128874#M42549</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From what you describe here:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;I created a new css+Hubl file in ProjectFolder &amp;gt; CSS &amp;gt; Sections/Templates&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It seems your path to the css file is wrong here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% include './sections/_Career_Header_Section.css' %}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right click on your css file and use copy path to get the full path to the file.&lt;BR /&gt;&lt;BR /&gt;Also, I know&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{% include "hubspot/styles/patches/recommended.css" %}&lt;/LI-CODE&gt;&lt;P&gt;is mentioned in the hubspot documentation but I would have only ever used include for html content and testing it out now I can't get it to work.&lt;BR /&gt;&lt;BR /&gt;I'd use require_css instead:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{{ require_css(get_asset_url('PATH TO YOUR CSS FILE')) }}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Edit: Ah, yes, the include method for css would only be used to compile your css files (as in main.css in the boilerplate). You can't use it in the context you're using it. Use the require_css method instead.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="profile2022a" style="width: 100px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71500iE96AB1F9E9E277B9/image-size/small?v=v2&amp;amp;px=200" role="button" title="profile2022a" alt="profile2022a" /&gt;&lt;/span&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Barry Grennan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Website&lt;/A&gt; | &lt;A href="https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Contact&lt;/A&gt; | &lt;A href="https://www.linkedin.com/in/barrygrennan" target="_blank" rel="nofollow noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 12:02:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128874#M42549</guid>
      <dc:creator>BarryGrennan</dc:creator>
      <dc:date>2025-03-28T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128913#M42552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. &lt;STRONG&gt;{% dnd_section %}&lt;/STRONG&gt; doesn't support the class attribute, so you can't use it there. Instead, you can add the class to &lt;STRONG&gt;{% dnd_area %}.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2. &lt;STRONG&gt;{% include %}&lt;/STRONG&gt; cannot be used in HubSpot templates to add CSS styles. &lt;STRONG&gt;{% include %}&lt;/STRONG&gt; is meant for HubL partials (e.g., reusable templates or modules) but not for CSS files.&lt;BR /&gt;Use &lt;STRONG&gt;{% require_css %}&lt;/STRONG&gt; to load external or project CSS files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will apply CSS to your &lt;STRONG&gt;{% dnd_area %}.&lt;/STRONG&gt;&lt;BR /&gt;If you want to apply CSS to &lt;STRONG&gt;{% dnd_section %}&lt;/STRONG&gt;, you can do either &lt;A href="https://developers.hubspot.com/docs/reference/cms/hubl/tags/dnd-areas#dnd_section" target="_blank" rel="noopener"&gt;inline CSS&lt;/A&gt; or target via CSS Using dnd-section Class:&lt;BR /&gt;.career-main-header-style .dnd-section{&lt;BR /&gt;background-color: red;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-sheets-root="1"&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 12:52:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1128913#M42552</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-03-28T12:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1129938#M42574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks so much for your prompt reply&lt;BR /&gt;I tried to follow your instructions, but it still doesn't work&lt;BR /&gt;Would you please guide me on how to modify my files&amp;nbsp;&lt;BR /&gt;this is my template&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://{{ get_asset_url('/ascent_strategy_theme/templates/CareerPage.html') }}" target="_blank" rel="noopener"&gt;{{ get_asset_url('/ascent_strategy_theme/templates/CareerPage.html') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/* Templates
Template design patterns
*/
{{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the stylesheet for my template&lt;BR /&gt;&lt;A href="http://{{ get_asset_url('/ascent_strategy_theme/css/templates/CareerPage.css') }}" target="_blank" rel="noopener"&gt;{{ get_asset_url('/ascent_strategy_theme/css/templates/CareerPage.css') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;.background_animation_style {
  background-color: red;
}&lt;/LI-CODE&gt;&lt;P&gt;This is my main.css file&amp;nbsp;&lt;BR /&gt;&lt;A href="http://{{ get_asset_url('/ascent_strategy_theme/css/main.css') }}" target="_blank" rel="noopener"&gt;{{ get_asset_url('/ascent_strategy_theme/css/main.css') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/* Templates
Template design patterns
*/
{{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would you please guide me on how to add the stylesheet to my template?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 21:12:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1129938#M42574</guid>
      <dc:creator>ADuka</dc:creator>
      <dc:date>2025-03-31T21:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1129939#M42575</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks so much for your prompt reply&lt;BR /&gt;I tried to follow your instructions, but it still doesn't work&lt;BR /&gt;Would you please guide me on how to modify my files&amp;nbsp;&lt;BR /&gt;this is my template&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://{{%20get_asset_url('/ascent_strategy_theme/templates/CareerPage.html')%20%7D%7D" target="_blank" rel="noopener nofollow noreferrer"&gt;{{ get_asset_url('/ascent_strategy_theme/templates/CareerPage.html') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/* Templates
Template design patterns
*/
{{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the stylesheet for my template&lt;BR /&gt;&lt;A href="http://{{%20get_asset_url('/ascent_strategy_theme/css/templates/CareerPage.css')%20%7D%7D" target="_blank" rel="noopener nofollow noreferrer"&gt;{{ get_asset_url('/ascent_strategy_theme/css/templates/CareerPage.css') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;.background_animation_style {
  background-color: red;
}&lt;/PRE&gt;&lt;P&gt;This is my main.css file&amp;nbsp;&lt;BR /&gt;&lt;A href="http://{{%20get_asset_url('/ascent_strategy_theme/css/main.css')%20%7D%7D" target="_blank" rel="noopener nofollow noreferrer"&gt;{{ get_asset_url('/ascent_strategy_theme/css/main.css') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/* Templates
Template design patterns
*/
{{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;would you please guide me on how to add the stylesheet to my template?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 21:17:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1129939#M42575</guid>
      <dc:creator>ADuka</dc:creator>
      <dc:date>2025-03-31T21:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130292#M42578</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the code with us!&lt;BR /&gt;&lt;BR /&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/146956"&gt;@BarryGrennan&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt; do you have tips to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a great day and thanks so much!&lt;BR /&gt;&lt;BR /&gt;Warmly,&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 12:02:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130292#M42578</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-04-01T12:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130308#M42579</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;&lt;A href="http://{{%20get_asset_url('/ascent_strategy_theme/templates/CareerPage.html')%20%7D%7D" target="_blank" rel="noopener nofollow noreferrer"&gt;{{ get_asset_url('/ascent_strategy_theme/templates/CareerPage.html') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/* Templates
Template design patterns
*/
{{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;You say below that your css file is called&amp;nbsp;CareerPage.css but here you call&amp;nbsp;CareerPageTemplate.css&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This is my main.css file&amp;nbsp;&lt;BR /&gt;&lt;A href="http://{{%20get_asset_url('/ascent_strategy_theme/css/main.css')%20%7D%7D" target="_blank" rel="noopener nofollow noreferrer"&gt;{{ get_asset_url('/ascent_strategy_theme/css/main.css') }}&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/* Templates
Template design patterns
*/
{{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;As above, you apear to be calling&amp;nbsp;CareerPageTemplate.css where your file name is&amp;nbsp;CareerPage.css but also in the context of main.css you would be compiling css so here you &lt;STRONG&gt;would&amp;nbsp;&lt;/STRONG&gt;use include. However you shouldn't need to have it both included in your main and called in the template, just one or the other.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;HR /&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="profile2022a" style="width: 100px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/71500iE96AB1F9E9E277B9/image-size/small?v=v2&amp;amp;px=200" role="button" title="profile2022a" alt="profile2022a" /&gt;&lt;/span&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Barry Grennan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Freelance HubSpot CMS Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.seoanseo.ca?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Website&lt;/A&gt; | &lt;A href="https://www.seoanseo.ca/#contact?utm_source=HubSpotCommunity" target="_blank" rel="nofollow noopener noreferrer"&gt;Contact&lt;/A&gt; | &lt;A href="https://www.linkedin.com/in/barrygrennan" target="_blank" rel="nofollow noopener noreferrer"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 12:50:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130308#M42579</guid>
      <dc:creator>BarryGrennan</dc:creator>
      <dc:date>2025-04-01T12:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add stylesheet to my sections and templates?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130327#M42580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/581490"&gt;@ADuka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The CSS file path referenced in the HTML template appears to be incorrect.&lt;BR /&gt;You have mentioned the following path:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; {{ get_asset_url('/ascent_strategy_theme/css/templates/CareerPage.css') }}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, the actual path being loaded in the HTML template is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; {{ require_css(get_public_template_url("../css/templates/CareerPageTemplate.css")) }}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To ensure the correct stylesheet is applied, please verify and update the path accordingly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this will help you out. Please mark it as &lt;STRONG&gt;Solution Accepted and upvote&lt;/STRONG&gt; to help another Community member.&lt;BR /&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 13:26:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-do-i-add-stylesheet-to-my-sections-and-templates/m-p/1130327#M42580</guid>
      <dc:creator>GRajput</dc:creator>
      <dc:date>2025-04-01T13:26:36Z</dc:date>
    </item>
  </channel>
</rss>

