<?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 Forms not appearing properly on the wordpress page in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/184880#M5511</link>
    <description>&lt;P&gt;Hi Steve,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks to me like a stylesheet problem.&amp;nbsp; Looking at your code, I see this tag&amp;nbsp;&lt;SPAN&gt;&amp;lt;div &lt;/SPAN&gt;&lt;SPAN class="html-attribute-name"&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="&lt;/SPAN&gt;&lt;SPAN class="html-attribute-value"&gt;formHolder&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt; but I couldn't find formHolder defined in any of your linked stylesheets, unless I missed it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm wondering if this is a case of the default HubSpot styling conflicting with the defined stylesheet on your WordPress site.&amp;nbsp; I might suggest that when you copy the embed code from your HubSpot portal you should UNCHECK&amp;nbsp; the "Include default HubSpot Styling" check box.&amp;nbsp; That should give you a form that can be styled by your existing stylesheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you don't want to leave your JS Deferred setting off, you might consider installing the Gravity Forms plugin (About $100/yr) and Big Sea's HubSpot for Gravity Forms plugin (free). Then, you can build your forms directly inside WordPress and send them to HubSpot via the API.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Apr 2018 12:55:42 GMT</pubDate>
    <dc:creator>trevordjones</dc:creator>
    <dc:date>2018-04-06T12:55:42Z</dc:date>
    <item>
      <title>Hubspot Forms not appearing properly on the wordpress page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/182394#M5215</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Wordpress for my website and when I input the embeded code from Hubspot, the form does not appear on the page, it is just blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at the chrome developer tools I notice that a piece of code has been added that says, "defer data-deferred="1"". Doing some research online, I found that certain plugins used to optimize your site could add this code. I was able to find a setting for JS Deferred in LightSeed Cache and once I turned it off the form appears as expected. However I would like to optimize my site with this program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So reaching out to lightSpeed Cache they suggested using the following code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="formHolder"&amp;gt;&lt;BR /&gt;&amp;lt;!--[if lte IE 8]&amp;gt;&lt;BR /&gt;&amp;lt;script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js" defer&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;![endif]--&amp;gt;&lt;BR /&gt;&amp;lt;script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js" defer=""&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;window.onload = function() {&lt;BR /&gt;hbspt.forms.create({&lt;BR /&gt;portalId: "Number",&lt;BR /&gt;formId: "Number",&lt;BR /&gt;css: "",&lt;BR /&gt;target: "#formHolder"&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note I have taken out the portalid and formid numbers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I add this code and run it, the background of the form fails to appear until I resize the window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How the page loads initialy is the first image and how the form loads after resizing the window is the second image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HSform-Wrong.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/8408i111C5EF6FE20C390/image-size/large?v=v2&amp;amp;px=999" role="button" title="HSform-Wrong.PNG" alt="HSform-Wrong.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HSform-afterresizingwindow.PNG" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/8410iE690F39E3AA91029/image-size/large?v=v2&amp;amp;px=999" role="button" title="HSform-afterresizingwindow.PNG" alt="HSform-afterresizingwindow.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sd-wan-experts.com/our-team/&amp;nbsp;" target="_blank"&gt;https://www.sd-wan-experts.com/our-team/&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how to resolve this issue? I have also tried different browsers and same result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:13:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/182394#M5215</guid>
      <dc:creator>sgarson</dc:creator>
      <dc:date>2018-03-20T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Forms not appearing properly on the wordpress page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/184840#M5497</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/57329"&gt;@sgarson&lt;/a&gt;&amp;nbsp;thanks for sharing this detail!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9374"&gt;@trevordjones&lt;/a&gt;&amp;nbsp;is this something you have come accross before, I've noticed you share a lot of Wordpress design expertise &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 10:58:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/184840#M5497</guid>
      <dc:creator>roisinkirby</dc:creator>
      <dc:date>2018-04-06T10:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hubspot Forms not appearing properly on the wordpress page</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/184880#M5511</link>
      <description>&lt;P&gt;Hi Steve,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This looks to me like a stylesheet problem.&amp;nbsp; Looking at your code, I see this tag&amp;nbsp;&lt;SPAN&gt;&amp;lt;div &lt;/SPAN&gt;&lt;SPAN class="html-attribute-name"&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="&lt;/SPAN&gt;&lt;SPAN class="html-attribute-value"&gt;formHolder&lt;/SPAN&gt;&lt;SPAN&gt;"&amp;gt; but I couldn't find formHolder defined in any of your linked stylesheets, unless I missed it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm wondering if this is a case of the default HubSpot styling conflicting with the defined stylesheet on your WordPress site.&amp;nbsp; I might suggest that when you copy the embed code from your HubSpot portal you should UNCHECK&amp;nbsp; the "Include default HubSpot Styling" check box.&amp;nbsp; That should give you a form that can be styled by your existing stylesheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you don't want to leave your JS Deferred setting off, you might consider installing the Gravity Forms plugin (About $100/yr) and Big Sea's HubSpot for Gravity Forms plugin (free). Then, you can build your forms directly inside WordPress and send them to HubSpot via the API.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 12:55:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Hubspot-Forms-not-appearing-properly-on-the-wordpress-page/m-p/184880#M5511</guid>
      <dc:creator>trevordjones</dc:creator>
      <dc:date>2018-04-06T12:55:42Z</dc:date>
    </item>
  </channel>
</rss>

