Fix the GoHighLevel form sometimes not appearing on /contact/

form_embed.js hides each embed off-screen until the iframe reports ready.
With loading="lazy" the hidden iframe often never loaded, so it never
reported ready and the form stayed invisible. Load the form eagerly, reserve
its height, and reveal any embed still hidden after a few seconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Veras
2026-10-15 12:12:57 -04:00
parent 75d8cbc7f7
commit 4ba5f05f75
3 changed files with 25 additions and 1 deletions
+2
View File
@@ -1046,3 +1046,5 @@ h1, h2, h3, h4 { font-weight: 600; }
@media (max-width: 760px) { .calls { grid-template-columns: 1fr; } .call { padding: 24px; } }
#schedule .wrap { position: relative; }
.cal-panel[data-off] { position: absolute; left: -10000px; top: 0; width: min(980px, 100%); visibility: hidden; pointer-events: none; }
.ghl-wrap-form { min-height: 460px; }
.ghl-wrap-cal { min-height: 720px; }