-
incloverAsked on April 25, 2016 at 1:39 PM
I created this form using a ready-made template. I want the background to be green. It shows that way in the builder, but when I preview, it shows a white box. When I embed, the form has a white background. Thank you for your help.
-
David JotForm SupportReplied on April 25, 2016 at 2:48 PM
Since your form is embedded using the Javascript code, it is subject to CSS and scripts running in your page. These can affect the styling and functionality of your form. To ensure the form looks the same embedded as it does when viewing it alone, embed your form using the iFrame code instead:
http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code
-
incloverReplied on April 25, 2016 at 6:20 PM
Hello - Unfortunately that did not work. Still have the white background. Thank you for your help.
-
Ashwin JotForm SupportReplied on April 25, 2016 at 11:25 PM
Hello inclover,
You have set the page background as green but the form-section div of your form is still set as white background. Please inject the following custom css code in your form and that should solve your problem:
.form-section {
background: transparent !important;
}
The following guide should help you how to inject custom css code in form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes
Hope this helps.
Do get back to us if you have any questions.
Thank you!
-
incloverReplied on April 26, 2016 at 11:44 AM
That worked! Thank you!
-
Ashwin JotForm SupportReplied on April 26, 2016 at 12:33 PM
Hello inclover,
You are welcome.
I am glad to know that your issue is resolved.
Do get back to us if you have any questions.
Thank you!