I have checkout form fields First Name , Last Name , Country , postal code

I need to wrap fields like this

<div class="row">
<div class="col-md-6">Firstname field</div>
<div class="col-md-6">Lastname field</div>
<div class="row">
<div class="col-md-6">Country field</div>
<div class="col-md-6">Postalcode field</div>

I have added col-md-6 by overriding the Magento UI "Magento_Ui/templates/form" form.html there i have added col-md-6 so for each fields now this class is added. I'm not sure how to add class row for each 2 fields.

Please let me know if someone worked on this thanks in advance.

  • Can you describe what you are looking? – Dhiren Vasoya Aug 17 '18 at 13:32
  • i need to redesign the checkout form wrapping inside the row and col-md-6 container , i have added the col-md-6 class for each field not sure how to wrap row class for each 2 field as a fieldset – ManoharSingh Aug 17 '18 at 13:39
  • I got the solution from the below link magento.stackexchange.com/questions/114746/… – ManoharSingh Aug 22 '18 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.