How can I change the white form background color?

  • deblecy
    Asked on May 21, 2015 at 8:40 AM

    Here is the code:

     

    <iframe id="JotFormIFrame" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/51345771345961" frameborder="0" style="width:100%; height:974px; border:none;" scrolling="no"></iframe>

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

     

  • KadeJM
    Replied on May 21, 2015 at 10:34 AM

    Do you mean that you want to change the background color of your jotform?

    If so please see the screenshot I have provided you with below. You can easily change the background color of your jotform from within the formbuilder when editing your form under Preferences >>> Form Styles >>> Background.

    How can I change the white form background color? Image 1 Screenshot 20

    Alternatively, this can also be done using our Form Designer feature.