allie00p Posted July 17 Share Posted July 17 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> Link to comment
heyawaiszahid Posted July 17 Share Posted July 17 Please provide the URL of the page where you placed the code. Link to comment
allie00p Posted July 18 Author Share Posted July 18 (edited) 21 hours ago, heyawaiszahid said: Please provide the URL of the page where you placed the code. https://www.foggstreet.com/reservations I updated it so the code/widget is in there now. Edited July 18 by allie00p Link to comment
heyawaiszahid Posted July 18 Share Posted July 18 @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; } } Link to comment
allie00p Posted July 19 Author Share Posted July 19 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
paul2009 Posted July 19 Share Posted July 19 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
allie00p Posted July 19 Author Share Posted July 19 30 minutes ago, paul2009 said: I looked at the page but the code does not appear to have been added. Sorry, it's in there now. I have been trying to fix it with no luck. Link to comment
Solution heyawaiszahid Posted July 19 Solution Share Posted July 19 @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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment