Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
danbrown

Embed Flodesk form on Squarespace Cover Page

Question

7 answers to this question

Recommended Posts

  • 0

@tuanphan

HEADER

<script>
  (function(w, d, t, s, n) {
    w.FlodeskObject = n;
    var fn = function() {
      (w[n].q = w[n].q || []).push(arguments);
    };
    w[n] = w[n] || fn;
    var f = d.getElementsByTagName(t)[0];
    var e = d.createElement(t);
    var h = '?v=' + new Date().getTime();
    e.async = true;
    e.src = s + h;
    f.parentNode.insertBefore(e, f);
  })(window, document, 'script', 'https://assets.flodesk.com/universal.js', 'fd');
</script>

 

INLINE CODE

<div id="fd-form-5d71c89d1b644c000f7e9d6a"></div>
<script>
  window.fd('form', {
    formId: '5d71c89d1b644c000f7e9d6a',
    containerEl: '#fd-form-5d71c89d1b644c000f7e9d6a'
  });
</script>

Share this post


Link to post
  • 0

Hmm - tried this but still not quite working for me.

When I added it, the form pops up quickly but then 'hides' behind the cover - I can see it below (see attached).

Any ideas?

image.thumb.png.25f072352ae8e9ca9ed24cde402a4d22.png

Share this post


Link to post
  • 0

You can try adding to normal page via Code Block. If it works, I can give code to hide header/footer to make it to "Cover Page"


You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

Forum: I usually answer questions at 2pm - 5pm EST

How to Setup Password & Share URL - Squarespace Free Templates - Free Code - CSS ID List

Share this post


Link to post
  • 0
2 hours ago, danbrown said:

Yes, it does work on a normal page. What's the next step?

Share link to normal page, we can give the code to hide header, footer to make it "cover page"


You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

Forum: I usually answer questions at 2pm - 5pm EST

How to Setup Password & Share URL - Squarespace Free Templates - Free Code - CSS ID List

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...