kimparry Posted July 20, 2021 Share Posted July 20, 2021 Site URL: http://alphachallenge.co.nz Hi, I am trying to add some code to my site but it doesn't want to work. It does include a link to a website that it not mine. It is for an accomodation supplier that I am trying to promote. The code is <div id="search-widget_IO312PWQ"><script>!function(e,t,a,n,c,r){function s(t){e.console.log("[Guesty Embedded Widget]:",t)}var i,d,l,o,y,m,g,h,p,u;n&&(i=n,d=t.getElementsByTagName("head")[0],(l=t.createElement("link")).rel="stylesheet",l.type="text/css",l.href=i,l.media="all",d.appendChild(l)),o=function(){try{e[a].create(r).catch(function(e){s(e.message)})}catch(e){s(e.message)}},h=!1,y=c,m=function(){h||this.readyState&&"complete"!=this.readyState||(h=!0,o())},(g=t.createElement("script")).type="text/javascript",g.src=y,g.async="true",g.onload=g.onreadystatechange=m,p=g,(u=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,u)}(window,document,"GuestySearchBarWidget",https://s3.amazonaws.com/guesty-frontend-production/search-bar-production.css,https://s3.amazonaws.com/guesty-frontend-production/search-bar-production.js,{"siteUrl":"bookings.wanakaholidayhomes.co.nz"});</script></div> Any help would be greatly appreciated. Many thanks Kim Link to comment
tuanphan Posted July 21, 2021 Share Posted July 21, 2021 Hi Where/How did you get the code? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
kimparry Posted July 21, 2021 Author Share Posted July 21, 2021 From a friend who runs the accomodation business that I am trying to advertise. Link to comment
tuanphan Posted July 22, 2021 Share Posted July 22, 2021 13 hours ago, kimparry said: From a friend who runs the accomodation business that I am trying to advertise. You should contact your friend to get new code :( Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
kimparry Posted July 23, 2021 Author Share Posted July 23, 2021 Tried this but it works perfectly on her Squarespace site.... Link to comment
kimparry Posted July 23, 2021 Author Share Posted July 23, 2021 So I found an answer that you gave another person having the same issue (https://forum.squarespace.com/topic/151994-custom-code-works-in-wix-but-not-squarespace/ and my widget is now working but my footer is now displaying below the widget. I have no idea why it is different in designing vs saving / real time. https://www.alphachallenge.co.nz/accomodation Thanks so much in advance for your help. Link to comment
kimparry Posted July 23, 2021 Author Share Posted July 23, 2021 All sorted. Many thanks Link to comment
tuanphan Posted July 27, 2021 Share Posted July 27, 2021 Do you need help on these? Site URL: http://alphachallenge.co.nz/ 1. (Desktop – Homepage) Scroll bar at bottom of the page 2. (Tablet/Mobile – Footer) Word break 3. (Tablet – overlay menu) Want to move button higher? 4. (Race detail) Browser tab name still show “Service 1” https://www.alphachallenge.co.nz/race-details 5. (Covid) Browser tab name still show “General 3” https://www.alphachallenge.co.nz/covid 6. (Tablet – Our sponsors) Equal image – title – text? (As on desktop) https://www.alphachallenge.co.nz/our-sponsors 7. (Tablet – Our sponsors) The same here https://www.alphachallenge.co.nz/our-sponsors 8. (Tablet – Our sponsors) Reduce white space https://www.alphachallenge.co.nz/our-sponsors 9. (FAQs) Browser tab name still show “FAQs 1” https://www.alphachallenge.co.nz/faqs 10. (Tablet – FAQs) Want to increase text width? https://www.alphachallenge.co.nz/faqs Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.