-
SignatureCleaningAsked on December 18, 2017 at 10:08 AM
I added this to the CSS and my form is still wider when viewed sideways on mobile.
.form-all {
width: 320px !important;
margin-left: auto !important;
margin-right: auto !important;
}
Page URL: https://form.jotform.com/73507222385253 -
Richie JotForm SupportReplied on December 18, 2017 at 10:23 AM
You can try adding media css codes to enable responsive view.
@media screen and (max-width: 767px) and (min-width: 480px){
.form-all {
width: 320px !important;
margin-left: auto !important;
margin-right: auto !important;
}
}Here is a guide on how to inject custom css.
How-to-Inject-Custom-CSS-Codes
-
SignatureCleaningReplied on December 18, 2017 at 10:43 AMAdded that CSS and it still does not work.
... -
Richie JotForm SupportReplied on December 18, 2017 at 11:00 AM
I have cloned your form and it seems you have added the css codes to a comment(/**/). That is why the code is not working.
Kindly place the css code after the } end bracket and make sure it will change color.