How to align products in oder form?

  • Profile Image
    milladesignmaccom
    Asked 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.

  • Profile Image
    Nik_C
    Answered 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
    milladesignmaccom
    Answered 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
    liyam
    Answered 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.