Jump to content

Widget Code putting it in a container

Go to solution Solved by heyawaiszahid,

Recommended Posts

I am trying to add Spot On Reserve booking widget to this site. 

When I place the code they gave me it automatically puts it in an iframe container, but I am stuck on how to get rid of the container. Attached is what it should look like according to their website and what it ends up looking like. What am I missing? I tried doing the simple dragging of the box to make it look how I want and it doesn't change anything. 

This is the code: I obviously changed the id to match what ours is. 

<script type="text/javascript" src="https://sdk.seatninja.com/web/sn2.js" data-restaurant-id="YOUR_RESTAURANT_ID" data-api-key="uhLepeVA9t9DYJNeVocpJ6t3CvtI9OcPx0YD8lo0" data-widget-type="multiple-activities" data-activity="true"></script>
 
 

Screenshot 2024-07-17 at 1.17.29 PM.png

Screenshot 2024-07-17 at 1.18.27 PM.png

Screenshot 2024-07-17 at 1.52.46 PM.png

Link to comment
  • Replies 7
  • Views 555
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

22 hours ago, heyawaiszahid said:

@allie00p Thank you for sharing the URL. Please put below code into Custom CSS of your website.

#block-yui_3_17_2_1_1721314952506_51881 {
  iframe {
    border: 0;
    min-height: 860px;
  }
}

 

I did and nothing changed. Any other ideas? 

Link to comment
On 7/18/2024 at 6:53 PM, allie00p said:

I updated it so the code/widget is in there now. 

I looked at the page but the code does not appear to have been added.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • Solution

@allie00p We always need to ensure we use the correct ID for the block. It appears you deleted the old block, which is okay. Now, we just need to update the ID with that of our new code block. Here's the revised version:

#block-yui_3_17_2_1_1721324851715_19622 {
  iframe {
    border: 0;
    min-height: 860px;
  }
}

 

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.