Auto resizing embedded form

Solved

Auto resizing embedded form

cedelgado
Tourist
11 0 2

Hello, I need some help with this appointment booking form. I need it to resize to mobile dimensions but also to computer screen dimensions depending on what the user is on. Here is the link to my website: https://marinprestige.com/pages/book-now. And here is the embed code I was given: 

 

<iframe src='https://online-booking.workiz.com/?ac=0b27e82f3bbad1cccc3d3677e8f014ec121f3e9c6a185f0d99af5665d43d8ef3' width="100%" height="700px" style='border:none;'></iframe>

 

 

Accepted Solution (1)
mrashid
Shopify Partner
302 26 33

This is an accepted solution.

@cedelgado please paste this code in theme.liquid at the end

{% if handle contains 'book-now' %}
<style>
.col-12.col-md-4 {
    width: 100%;
}
</style>
{% endif %}
- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 4 (4)

mrashid
Shopify Partner
302 26 33

@cedelgado  you want to remove right scroll? right

mrashid_0-1718151433459.png

 

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
cedelgado
Tourist
11 0 2

No i want to make it a full page when on computer.SharedScreenshot.jpg

mrashid
Shopify Partner
302 26 33

This is an accepted solution.

@cedelgado please paste this code in theme.liquid at the end

{% if handle contains 'book-now' %}
<style>
.col-12.col-md-4 {
    width: 100%;
}
</style>
{% endif %}
- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

PageFly-Richard
Shopify Partner
5011 1120 1805

Hi @cedelgado 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

{% if handle contains 'book-now' %}
<style>
.container {
max-width: 100%;
}
.col-12.col-md-4 {
    width: 100%;
}
</style>
{%endif%}

PageFlyRichard_0-1718161728868.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.