What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    I have removed labels, but how do I delete the space where the label was?

    Asked by snaplash on June 09, 2017 at 10:59 AM

    I have removed labels from my form using:

     

    .form-label.form-label-top {

        visibility : hidden;

    }

     

    How do I remove the space where the label was?

     

    Thank you in advance.

     

    M.

    Page URL:
    https://www.jotform.com/build/71526800633957

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 09, 2017 at 01:08 PM

    I would suggest you to use the display property instead, this will completely remove the label element from the layout instead of just hiding it and leaving its space.

    .form-label.form-label-top {

          display: none; 

    }

    Hope this helps. 

     

  • Profile Image

    Answered by snaplash on June 09, 2017 at 03:07 PM

    That works great! Thanks!

     

    Would I use something different for the file upload fields? They seem unaffected by that css?

  • Profile Image
    JotForm Support

    Answered by Kevin_G on June 09, 2017 at 03:37 PM

    I have checked your form and I can see the code was applied to the file upload fields too: 

    However, seems like there is some padding at the bottom of each field, please try injecting the following code in order to get rid of it: 

    [data-type="control_fileupload"]{

        padding-bottom: 0px;

    }

    Expected result. 

    Hope this helps.