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

    How to align products in oder form?

    Asked by milladesignmaccom on May 14, 2016 at 02:44 AM

    Hi.

     

    Could you help me get this tidy?

     

    I want it to display to the left in its box and in this order like this:

    the picture

    the small square

    The text

    The price

    The quantity field

    The quantity text that here are Antall closer to the bar where you choose.

    Page URL:
    http://elisabethtalen.no/bestillingskjema-privat.html#bestilling-priva<br/>t

    Screenshot
    quantity picture align products order
  • Profile Image
    JotForm Support

    Answered by Nik_C on May 14, 2016 at 04:17 AM

    Could you please try to paste this CSS in your Custom CSS code:

     

    .form-product-item .form-radio, .form-product-item .form-checkbox {

    margin-right:50px!important;

    }

    Now, picture, small box, text and price should be aligned to the left.

    It looks like this after adjusting:

    Let us know if you had something else in mind or if you need more adjustments.

     

    Thank you!

     

  • Profile Image

    Answered by milladesignmaccom on May 14, 2016 at 04:31 AM

    Hi.

     

    It seems not to work on them all? and I would like some space over the square and less space between the quantity bar and the text Antall. The text Antall should connect to the bar.

     

  • Profile Image
    JotForm Support

    Answered by liyam on May 14, 2016 at 06:26 AM

    Hello,

    Can you try adding this CSS code:

     

    .form-product-item .form-sub-label-container .form-sub-label {
      margin-top: 0 !important;
    }
    .form-product-item .form-sub-label-container {
      clear: left;
    }
    .form-product-item {
    padding-left: 20px;
    }

     

    For the last code that uses padding-left, try adjusting its number depending on the spacing between the products that you desire.

    If I'm misunderstanding something with what you mean by "wanting some space over the square and less space between the quantity bar and the text Antall", please do let us know.

    Thanks.