Jump to content

3rd party website booking form not displaying correctly

Recommended Posts

Hi, I'm trying to embed the booking form from the website I use to manage my practice (Halaxy), and am having an issue where only the top section of it displays. I can scroll up and down to view the whole thing, but I'm only able to view it through a small area, no matter how much I expand the block. It shows up this way both while editing the page and when viewing it (both on desktop and mobile). The first screenshot I've attached is of this. This is the code:

<iframe src="https://www.halaxy.com/book/widget/psychologist/simon-wegman/721981/624781" style="border:0;width:100%;height:100%;"></iframe>

I worked out that by changing the height %, I could get it to display correctly on desktop (shown in second screenshot), but now it looks totally off on mobile (third screenshot). It also goes wonky in the desktop mode if I start resizing the browser window. Does anyone know what I need to do to get both desktop (regardless of how the window is sized) and mobile to display correctly?

Thanks!

 

 

 

 

 

Screenshot 2023-01-30 at 11.44.04 pm.png

Screenshot 2023-03-21 at 1.45.47 am.png

Screenshot 2023-03-21 at 1.54.36 am.png

Edited by HannahW
Link to comment
  • 3 weeks later...
  • 3 months later...
  • 2 weeks later...
On 8/5/2023 at 8:50 AM, Penscope said:

Having the same issue at the following page https://www.thelittlehouseofhealing.com.au/halaxy

help

pls

change your iframe code to this

<iframe src="https://www.halaxy.com/book/widget/hypnotherapist/sascha-graham/1091121/876261?wmode=opaque" data-embed="true" style="border:0;width:100%;height:1000px;"></iframe>

I changed height:100% to height:1000px

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
  • 6 months later...

Hi, I have tried the same code but my widget is not appearing correctly on mobile.

And also tried with these two code snippets/ CSS but I haven't been able to make the iframe bigger

 

I have used these two code snippets as well to test

<iframe src="https://www.halaxy.com/book/widget/altspace-therapies/location/1056481" style="border:0;width:100%;height:1000px;"></iframe>


<style>
  .embed-responsive {
    overflow: hidden;
    padding-top: 56.25%; /* Aspect ratio for responsive design (16:9) */
    position: relative;
  }

  .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
</style>

<div class="embed-responsive">
  <iframe src="https://www.halaxy.com/book/widget/altspace-therapies/location/1056481" frameborder="0" allowfullscreen></iframe>
</div>
 

Here's a picture for your reference. Looking forward to your inputs. Thank you.

Screenshot 2024-03-08 at 12.31.39 PM.png

Link to comment

Hi

 

I am having the same issue on mobile and my calendar looks wonky and there's too much scrolling. I have tried the same code but my widget is not appearing correctly on mobile.

And also tried with these two code snippets/ CSS but I haven't been able to make the iframe bigger for mobile view

I have used these two code snippets as well to test

<iframe src="https://www.halaxy.com/book/widget/altspace-therapies/location/1056481" style="border:0;width:100%;height:1000px;"></iframe>


<style>
  .embed-responsive {
    overflow: hidden;
    padding-top: 56.25%; /* Aspect ratio for responsive design (16:9) */
    position: relative;
  }

  .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
</style>

<div class="embed-responsive">
  <iframe src="https://www.halaxy.com/book/widget/altspace-therapies/location/1056481" frameborder="0" allowfullscreen></iframe>
</div>
 

Here's a picture for your reference. Looking forward to your inputs. Thank you.

Screenshot 2024-03-08 at 12.31.39 PM.png

Link to comment
On 3/8/2024 at 2:06 PM, poojabharadwaj said:

Hi

 

I am having the same issue on mobile and my calendar looks wonky and there's too much scrolling. I have tried the same code but my widget is not appearing correctly on mobile.

And also tried with these two code snippets/ CSS but I haven't been able to make the iframe bigger for mobile view

I have used these two code snippets as well to test

<iframe src="https://www.halaxy.com/book/widget/altspace-therapies/location/1056481" style="border:0;width:100%;height:1000px;"></iframe>


<style>
  .embed-responsive {
    overflow: hidden;
    padding-top: 56.25%; /* Aspect ratio for responsive design (16:9) */
    position: relative;
  }

  .embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
</style>

<div class="embed-responsive">
  <iframe src="https://www.halaxy.com/book/widget/altspace-therapies/location/1056481" frameborder="0" allowfullscreen></iframe>
</div>
 

Here's a picture for your reference. Looking forward to your inputs. Thank you.

Screenshot 2024-03-08 at 12.31.39 PM.png

Can you share link to this page?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

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