<?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: Hubspot Forum Not Displaying Correctly on our CMS in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forum-Not-Displaying-Correctly-on-our-CMS/m-p/1091192#M41700</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/879033"&gt;@myangMC&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;how are you implementing the form(s) onto your pages? If you embed it with the embed-code, you can try to exclude default HS CSS by modifying the code slightly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;original embed-code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
  hbspt.forms.create({
    portalId: "123456789",
    formId: "1a64148a-2d22-4b90-b9f1-b4784fa62a80"
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;modified embed-code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
  hbspt.forms.create({
    portalId: "123456789",
    formId: "1a64148a-2d22-4b90-b9f1-b4784fa62a80",
    css: ''
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;adding an empty&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;css:''&lt;/LI-CODE&gt;
&lt;P&gt;will not load the default HS CSS which might be conflicting with your own CSS.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I recommend to create a seperate page in your environment, test it, potentially apply new CSS rules, and once you're happy - update the embed code on all your pages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 13:21:58 GMT</pubDate>
    <dc:creator>Anton</dc:creator>
    <dc:date>2025-01-08T13:21:58Z</dc:date>
    <item>
      <title>Hubspot Forum Not Displaying Correctly on our CMS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forum-Not-Displaying-Correctly-on-our-CMS/m-p/1090204#M41678</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;We are having some display issues with a HubSpot form with checkboxes. Essentially, the Hubspot form renders strangely most of the time, except on some occasions/refreshes it will render correctly (as pictured). When it is not rendered correctly, the elements appear out of order and out of alignment (with the checkboxes pushed further up and the single line inputs neighboring each other). We have been trying to investigate if any conflicts within our own global styles may be causing this issue, and that's in the process, or if this might be an issue with load times. However, we want to open up the possibility of seeing if the inconsistency with how these forms appear might have something to do with styles applied on the Hubspot side.Let me know if further details from our end are needed. Aalso, I'm noticing some styles in the head of the iframe are different when the form is rendered incorrectly, such as this rule:&lt;BR /&gt;&lt;BR /&gt;.hbspt-form .hs-form-private{&lt;BR /&gt;display: flex;&lt;BR /&gt;align-items: center;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Which seems to be one of the problematic rules which, when manually disabled in the console, remedies a lot of the layout issues.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-17 142253.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/135246i1D21B58CE667CAD6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-17 142253.png" alt="Screenshot 2024-12-17 142253.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Thank you.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Jan 2025 16:39:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forum-Not-Displaying-Correctly-on-our-CMS/m-p/1090204#M41678</guid>
      <dc:creator>myangMC</dc:creator>
      <dc:date>2025-01-06T16:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Forum Not Displaying Correctly on our CMS</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forum-Not-Displaying-Correctly-on-our-CMS/m-p/1091192#M41700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/879033"&gt;@myangMC&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;how are you implementing the form(s) onto your pages? If you embed it with the embed-code, you can try to exclude default HS CSS by modifying the code slightly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;original embed-code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
  hbspt.forms.create({
    portalId: "123456789",
    formId: "1a64148a-2d22-4b90-b9f1-b4784fa62a80"
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;modified embed-code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
  hbspt.forms.create({
    portalId: "123456789",
    formId: "1a64148a-2d22-4b90-b9f1-b4784fa62a80",
    css: ''
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;adding an empty&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;css:''&lt;/LI-CODE&gt;
&lt;P&gt;will not load the default HS CSS which might be conflicting with your own CSS.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I recommend to create a seperate page in your environment, test it, potentially apply new CSS rules, and once you're happy - update the embed code on all your pages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anton&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 13:21:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forum-Not-Displaying-Correctly-on-our-CMS/m-p/1091192#M41700</guid>
      <dc:creator>Anton</dc:creator>
      <dc:date>2025-01-08T13:21:58Z</dc:date>
    </item>
  </channel>
</rss>

