Padding space on forms

  • Profile Image
    gcasillas80
    Asked on July 20, 2017 at 02:10 PM

    Hello, 

     

    I am trying to reduce the padding space on top, bottom and sides of the form and cannot see a place to reduce any further. The form I have is already set in the "form designer" to "0", and still has a lot of padding. See attached. 

     

    Thanks, George 

  • Profile Image
    Jan
    Answered on July 20, 2017 at 03:48 PM

    Are you trying to remove the gray background around the form? Unfortunately, that gray background is a border created from your web page. You need to remove it from the web page and not in the form.

    You can inject this custom CSS code to change the background color of the form to white and remove the box shadow of the actual form:

    .supernova {
    background-color: #ffffff !important;
    }

    .supernova .form-all, .form-all {
    border: 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    }

    .form-header-group {
    padding-top: 0px !important;
    }

    Here's a guide on How-to-Inject-Custom-CSS-Codes. The last CSS code is to decrease the top padding. Here's the result:

    Hope that helps. Let us know if you need further assistance. Thank you.