Inject CSS code in Card form to descrease the padding.

  • ajotform
    Asked on September 8, 2019 at 2:49 PM
    One more item to make this work perfectly.  As you can see there is too much space at the top (between the header and form).  Can I either decrease the padding at the top or decrease the height (maybe css on my site).

    Thanks

  • David JotForm Support Manager
    Replied on September 8, 2019 at 2:59 PM

    Unfortunately, Card forms don't accept CSS injection, and the margin of the form cannot be changed. You could try customizing your web page where it is embedded, please try adding this code in your site:

    <style type="text/css">

    .pagehead{

        margin-bottom: -8% !important;

    }

    </style>

    This should be the result:

    1567969120reduced Screenshot 10

    Hope this helps.

  • ajotform
    Replied on September 8, 2019 at 3:19 PM

    You are a legend!!!  Thanks.