<?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: Using custom CSS in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Using-custom-CSS/m-p/724984#M31671</link>
    <description>&lt;P&gt;You don't need to use jQuery. In the form editor go to the "Style &amp;amp; preview" tab and toggle on "Set as raw HTML form". This will remove any HubSpot styling and allow you to style them purely with CSS in your stylesheet. Here's an example stylesheet for styling HubSpot forms so you can see some of the classes used -&amp;nbsp;&lt;A href="https://github.com/HubSpot/cms-theme-boilerplate/blob/main/src/css/elements/_forms.css" target="_blank" rel="noopener"&gt;https://github.com/HubSpot/cms-theme-boilerplate/blob/main/src/css/elements/_forms.css&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, HubSpot uses just regular ol form elements so once set to raw HTML it'll take on any styling you already have set for form elements (as long as you're styling the elements themselves and not using custom classes instead).&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 20:35:49 GMT</pubDate>
    <dc:creator>alyssamwilie</dc:creator>
    <dc:date>2022-11-30T20:35:49Z</dc:date>
    <item>
      <title>Using custom CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-custom-CSS/m-p/724914#M31668</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New to HubSpot and I'm trying to style my first form with CSS local to my site.&amp;nbsp; I have 2 simple field forms - email address and submit button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I find these using JQuery and change classes to style them?&lt;/P&gt;&lt;P&gt;I'm using bootstrap 5 on my web site.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 18:32:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-custom-CSS/m-p/724914#M31668</guid>
      <dc:creator>AJCourt</dc:creator>
      <dc:date>2022-11-30T18:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using custom CSS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Using-custom-CSS/m-p/724984#M31671</link>
      <description>&lt;P&gt;You don't need to use jQuery. In the form editor go to the "Style &amp;amp; preview" tab and toggle on "Set as raw HTML form". This will remove any HubSpot styling and allow you to style them purely with CSS in your stylesheet. Here's an example stylesheet for styling HubSpot forms so you can see some of the classes used -&amp;nbsp;&lt;A href="https://github.com/HubSpot/cms-theme-boilerplate/blob/main/src/css/elements/_forms.css" target="_blank" rel="noopener"&gt;https://github.com/HubSpot/cms-theme-boilerplate/blob/main/src/css/elements/_forms.css&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, HubSpot uses just regular ol form elements so once set to raw HTML it'll take on any styling you already have set for form elements (as long as you're styling the elements themselves and not using custom classes instead).&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 20:35:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Using-custom-CSS/m-p/724984#M31671</guid>
      <dc:creator>alyssamwilie</dc:creator>
      <dc:date>2022-11-30T20:35:49Z</dc:date>
    </item>
  </channel>
</rss>

