Jump to content

Cannot get code to work!

Recommended Posts

Site URL: https://grape-mango-82zb.squarespace.com/bookings

I have tried for a couple of days now to add code to my site and i'm on the verge of giving up!

I am trying to finalise my website for my restaurant and I have a booking widget supplied to me by my third party booking service. It worked just fine copied and pasted into my old site, but I get no signs of life of it on my squarespace site.

I have read through FAQs and other forum posts and the advice I keep seeing is

a) view it on another device, i.e not it edit mode... which i now do, and

b) disable Ajax loading, which after a few emails to customer support I have now discovered isnt even an option anymore

here is the code i am trying to insert;

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<title>LiveRES Demo Unit</title>
<style type="text/css">
/* 7" tablet */
@media only screen and (max-width: 709px)
/* phone landscape */
@media only screen and (max-width: 609px)
/* phone portrait*/
@media only screen and (max-width: 479px)

    <div id="container">

<script type="text/javascript">
    _fez_account = "5561cc4d-960f-4fbe-ae65-855d8ba32783";
    _fez_brand = "1";
    _fez_rest = "CON";
    _fez_width = "100%";
    _fez_height = "100%";
    _fez_scrolling = "No";
    _fez_anal = "";
    _fez_stylesheet = "https://bookings.liveres.co.uk/css/responsive_demo1.css";
   _fez_mobile = "no"
    _fez_ascript = "0"
    _fez_head = "Table Reservation";
    _fez_desc = "";
    _fez_offer = "";
    _fez_offerpopup = "1";
    _fez_partner = "";
    _fez_restaurantpicker = "";
    _fez_daymarketingpopup = "1";
    _fez_offerpicker = "";
    _fez_offerpopupchoosefullprice = "";
    _fez_choosefullprice = "";
<script type="text/javascript"



There is nothing at all showing on my site!

please help

Link to comment
  • Replies 5
  • Created
  • Last Reply

Thankyou RWP fro your help! I carried on trawling through this forum and stumbled upon the answer from another post, again from yourself.

It was to change http: to https: in the code, so again you were correct to point to the urls as source of the problem.

Thank you very much for your help

Link to comment


This topic is now archived and is closed to further replies.

  • 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.