NaomiChilton Posted June 17, 2023 Posted June 17, 2023 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!
paul2009 Posted June 17, 2023 Posted June 17, 2023 1 hour ago, NaomiChilton said: I am trying to add a booking/availability widget Where will we find the documentation for this widget? 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.
NaomiChilton Posted June 17, 2023 Author Posted June 17, 2023 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.
Solution paul2009 Posted June 17, 2023 Solution Posted June 17, 2023 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 ⬇️ 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.
NaomiChilton Posted June 18, 2023 Author Posted June 18, 2023 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment