NaomiChilton Posted June 17 Share Posted June 17 Hi I am trying to add a booking/availability widget to a few of my pages. I've been sent the code for the actual widget but I am unsure how to style the position of the widget. Ideally, I would like it to sit underneath the header image of the page. Here is the widget code I have been sent. <div class="ftb-widget" data-id="46978" data-token="PoXC79Jw0YG88p1JIRTyQleoEZYiWt5QwnDC8DwxqyQi3wEUXpm0TPqIzKPrJ"></div><script src="https://widget.freetobook.com/widget.js"></script> If anyone could help me I would really appreciate it! Link to comment
NaomiChilton Posted June 17 Author Share Posted June 17 https://www.wagtailretreat.co.uk/larch Link to comment
paul2009 Posted June 17 Share Posted June 17 1 hour ago, NaomiChilton said: I am trying to add a booking/availability widget Where will we find the documentation for this widget? About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
NaomiChilton Posted June 17 Author Share Posted June 17 3 hours ago, paul2009 said: Where will we find the documentation for this widget? Hi Paul, The service is called Free To Book. All I have been given is the following code: <div class="ftb-widget" data-id="46978" data-token="PoXC79Jw0YG88p1JIRTyQleoEZYiWt5QwnDC8DwxqyQi3wEUXpm0TPqIzKPrJ"></div><script src="https://widget.freetobook.com/widget.js"></script> When I add it to the page it works, but just loads it to the very top of the page so would just need some help styling the position to where I would like it to go. I've attached an image to show where you can see it has loaded, underneath the Nav, but I would like it to sit underneath the main header. Link to comment
Solution paul2009 Posted June 17 Solution Share Posted June 17 5 hours ago, NaomiChilton said: All I have been given is the...code. When I add it to the page it works, but just loads it to the very top of the page so would just need some help styling the position to where I would like it to go. You should be able to add the code to a Code Block on the page and then position it where you would like it to appear: Did this help? Please give feedback by clicking an icon below ⬇️ About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
NaomiChilton Posted June 18 Author Share Posted June 18 16 hours ago, paul2009 said: You should be able to add the code to a Code Block on the page and then position it where you would like it to appear: Did this help? Please give feedback by clicking an icon below ⬇️ Omg as if it was that easy haha thank you so much. paul2009 1 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