-
MuhammadUmair016Asked on June 13, 2020 at 3:53 PM
I have faced a problem with the button view. I have made a form for my client and now he had integrated the form into his website. When form opens the form in chrome, safari, opera, and any browser through jotform site link. It works fine but my client opens the same one through his website, it shows button problem. I have attached the picture
It shows like this when open through jotform site link
But open through the site it shows like this
Some time size of the button also decreases. It should show the same as in the previous picture
-
Elton Support Team LeadReplied on June 13, 2020 at 7:21 PM
We also couldn't reproduce the problem on the standalone form. Can you please provide the exact page where your form is embedded on this site https://www.frankandbeans.com.au/ so we can inspect it on our browser?
Thanks
-
MuhammadUmair016Replied on June 14, 2020 at 2:03 AM
Here is the Link for the form.
https://www.frankandbeans.com.au/returns
If you open it in your mobile not in the mobile view through the website, you will be able to see the issue.
When you open through the site you will be able to see the issue that button placement is up and down while if I open through the jotform site, it work side by side as in the previous pictures
-
Ariel JotForm SupportReplied on June 14, 2020 at 2:52 AM
Hi there,
Thank you for your message.
Please inject the following custom CSS code in your form:
@media screen and (max-width: 736px) {
.form-pagebreak {
justify-content: center;
display: flex;
flex-wrap: wrap-reverse;
}
.form-pagebreak > div{
margin: 3px;
}
}Once applied, the buttons should look like this.
Please give it a shot and let us know how it goes.
Related Guide: How to Inject Custom CSS Codes
-
MuhammadUmair016Replied on June 14, 2020 at 3:03 AM
Sir
Sorry but may i am not able to convey my complete message
I want the button side by side not up and down
Like in the below picture. It should display like this on my website
-
Flavio_AReplied on June 14, 2020 at 4:29 AM
Hi @MuhammadUmair016
Please try using the following code:
@media screen and (max-width: 736px) {
.form-pagebreak {
justify-content: center;
display: flex;
flex-wrap: nowrap;
}
.form-pagebreak > div{
margin: 3px;
}
}
-
MuhammadUmair016Replied on June 14, 2020 at 11:10 AM
Sir,
You still cant get my question. Let me explain
When I see the form using the jotform site link. Following button, appearance occurs in mobile view
Link of form through jotform site
https://form.jotform.com/201382853420449
Mobile view
When I embedded the same form into the site, following appearance occur of buttons in mobile view
Link of website form
https://www.frankandbeans.com.au/returns
Mobile view
I don't want this. I want the view like below in my website
The CSS code you provide me is not correct for me. I don't want that view.
Remember My problem with the button just occurs in the mobile view. I just want to be set them
-
Amin JotForm SupportReplied on June 14, 2020 at 11:55 AM
"I want the button side by side not up and down"
Do note that back/next buttons on your embedded form already show up side-by-side as shown below:
Please try with a different device/browser and get back to us if the issue persists.
-
MuhammadUmair016Replied on June 14, 2020 at 4:16 PM
Sir, I have checked in different browsers and the problem still occurs.
I have attached the most recent view through the browser. have a look. The problem still occur
Please help me to solve this problem
-
Amin JotForm SupportReplied on June 14, 2020 at 5:39 PM
Please try injecting the following CSS code:
@media screen and (max-width: 480px), screen and (max-device-width: 767px) and (orientation: portrait), screen and (max-device-width: 415px) and (orientation: landscape){
.form-pagebreak-back-container, .form-pagebreak-next-container {
width: 48% !important;
}
}
Also, please make sure you check it using Chrome Browser.
-
MuhammadUmair016Replied on June 16, 2020 at 12:13 PM
Sir,
I still have a problem with the mobile view. Any other solution regarding my above problem. I have provided everything which I have to explain.
Please help me.
-
Kevin Support Team LeadReplied on June 16, 2020 at 2:44 PM
I was able to replicate the issue on my end:
I was able to fix this after injecting this CSS code:
@media screen and (max-width: 480px){
.form-all .form-pagebreak-back-container, .form-all .form-pagebreak-next-container {
width: 50% !important;
}
}
Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes
Result:
I hope this helps.