How can I change the top margin?

  • HiveWifi
    Asked on July 20, 2015 at 6:47 AM

    Hi,

    I have added my form to a bootstrap popup, there is no styling on my side. However there is a massive gap between the header and the actual form. Please see my screenshot for more information.

     

    How can I change the top margin? Image 1 Screenshot 20

  • HiveWifi
    Replied on July 20, 2015 at 6:50 AM

    Hi, 

    I've resolved the top margin, but now the bottom margin is also playing up..

  • Charlie
    Replied on July 20, 2015 at 9:16 AM

    Hi,

    Have you tried using this code instead:

    .jotform-form {

        margin-top : 0px !important;

        margin-bottom : 0px !important;

    }

    If the form is embedded on a website, could you share us the web page link instead? That would help us give you a better CSS code.

    I added the code in the Form Designer Tool under the CSS tab, I cloned your form for testing and demo purposes.

    How can I change the top margin? Image 1 Screenshot 20

     

    Do let us know if the initial code works.