Follow the steps below to generate the embed code in Elfsight and apply it to your CraftedStays website.
Step 1: Create and Configure Your Elfsight Widget.
Log in to your Elfsight Dashboard.
Select Add New App and choose the widget type (e.g., Instagram Feed, Google Reviews, Contact Form).
Customize the widget’s style, layout, and settings to fit your brand.
Once complete, click Save.
Step 2: Copy the Elfsight Embed Code
After saving, click the Overflow menu then select Embed Code.
A modal window will appear with a code snippet that looks similar to this:
<!-- Elfsight Subscription Form | Email Marketing --> <script src="https://elfsightcdn.com/platform.js" async></script> <div class="elfsight-app-c748b71a-1163-45f7-b742" data-elfsight-app-lazy></div>
3. Copy the entire code.
Step 3: Add the Code to Your CraftedStays Site
Log in to your CraftedStays Dashboard.
Navigate to Site then Manage Templates. Click Edit Template.
Add a HTML Block (or choose an existing block).
Paste the Elfsight embed code directly into the HTML editor.
Save and Exit
Step 4: Preview and Test
Visit your live site to confirm the widget appears correctly.
Refresh the page and check both desktop and mobile views to ensure responsiveness.
If the widget doesn’t load, double-check that you copied the entire code snippet from Elfsight.