-
AuthorPosts
-
January 5, 2016 at 3:36 am #559711
Have checked all the other threads but can’t find the answer to this issue:
When I place Hubspot form code into an Enfold text box or a code block, the form appears below the entire page content (even below the footer). The second time I load the page, the form is in the right place, but it happens every time on the first try.
I think it is some interaction between Enfold and the Hubspot form creation code, but I’m not sure.
I can’t use plugins like HTML snippet for company policy reasons and the vulnerability of plugins.
Any advice?
January 5, 2016 at 10:36 am #559805Hi kintone,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
RikardJanuary 5, 2016 at 7:37 pm #560103The site is protected so that only my IP can view it, but I can send a screenshot.
January 6, 2016 at 10:39 am #560395Hi,
We will have to inspect the element in question in order to give you custom CSS, is there any possibility you could remove the IP block?
Regards,
RikardJanuary 6, 2016 at 7:37 pm #560723Made a test page with the same code that is just password protected.
January 6, 2016 at 9:50 pm #560776Hey!
It seems that the code of form is loading asynchronous and it makes that issue.
Can u provide us the code, without any modifications?Regards,
BasilisJanuary 7, 2016 at 12:13 am #560849I have to keep our portal id confidential. Thanks for understanding. I’ve written it as xxxxxxx below.
- This reply was modified 8 years, 11 months ago by kintone.
January 8, 2016 at 12:38 pm #561911Hi!
it seems that we need authentication login as well. Post it here as private reply, so we can access your site.
Regards,
AndyJanuary 23, 2016 at 1:30 am #570393I can’t provide you with login information to our site for security reasons. What would you be looking for and maybe I can provide you with that information or start the search myself?
January 25, 2016 at 5:17 am #571073Hey!
We only need the .htaccess because we can’t access the test page. Please post it here.
What if you remove the div container?UPDATE: Create a new div inside the text block with a unique class then add the target parameter in the hubspot form script.
HTML:
<div class="custom_hubspot"></div>
UPDATED HUBSPOT SCRIPT:
<!– [if lte IE 8]> <script charset=”utf-8″ type=”text/javascript” src=”//js.hsforms.net/forms/v2-legacy.js”></script> <![endif]–> <script src=”//js.hsforms.net/forms/v2.js” type=”text/javascript” charset=”utf-8″></script><script> hbspt.forms.create({ css: ‘.hbspt-form {color:white;} #top label span {color:white !important;}’, portalId: ‘xxxxxxx’, formId: ’77c20b26-2ca2-4db8-a90b-45c83bb3f88d’, target: '.custom_hubspot' }); </script>
http://developers.hubspot.com/docs/methods/forms/advanced_form_options
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.