Welcome home, bubba
From a cosy date, a best friend’s 30th, a Friday night out, a corporate summer party, Thursday after work drinks, a wedding reception or even a panel discussion. Our Oasis is a pretty versatile spot.
Now let's have some fun together. Book now.
designmynight widget embedded code squarespace link is blank
ChatGPT said:
If you're embedding a DesignMyNight widget into your Squarespace site and it's showing up blank, here are a few common causes and how to fix them:
✅ 1. Check HTTPS Compatibility
DesignMyNight widgets must be served over HTTPS. Make sure your Squarespace site is also served over HTTPS. Most Squarespace sites are by default, but double-check:
Go to Settings → Advanced → SSL
Ensure it's set to Secure (Preferred)
✅ 2. Use the Correct Embed Code
Make sure you are using the iframe or JavaScript embed code provided by DesignMyNight. It should look something like:
Or, for JavaScript:
🔁 Double-check the URL — if there’s a typo or incorrect widget ID, it will appear blank.
✅ 3. Add Embed Code Properly in Squarespace
Use a Code Block (not a text block).
In the Squarespace editor, go to the section where you want to add it.
Click Add Block → Code
Paste the widget embed code there.
Ensure you don’t wrap it in
ChatGPT said:
Thanks for sharing the code. Based on what you’ve posted, here’s a breakdown of potential issues and fixes to get your DesignMyNight widget working on Squarespace.
🔎 Problem Analysis
You're using:
And the widget shows up blank when embedded on Squarespace.
✅ Fix Steps
1. Ensure the script URL uses HTTPS
Squarespace blocks insecure resources (those using // or http:). Change the script source to https explicitly:
That one change from // to https:// is likely the main issue.
2. Ensure Proper Code Block Placement in Squarespace
Go to Edit Page in Squarespace.
Add a Code Block (not text or embed block).
Paste the full HTML with the updated https:// link.
Make sure "Display Source" is unchecked.
3. Remove locale="undefined"
This might be causing JS errors. If you don’t need it, remove it entirely or set it properly (like locale="en").
So:
locale="en"
Or just remove locale entirely.
4. Preview Outside the Editor
Sometimes Squarespace's preview/editor mode doesn't run scripts fully. Publish or view the live version of your site and test it there.
✅ Final Working Code
Here’s the cleaned-up version you should try:
🧪 Still Blank?
If the widget still doesn’t load:
Open your site in incognito mode
Right-click > Inspect > Console — look for JavaScript errors
Share any console errors here, and I’ll help debug
Let me know how it goes!
You said:
can we make this an inline?
ChatGPT said:
Yes, we can convert your DesignMyNight widget code into a single inline block that includes both the and