How can I change the layout for the first and last name fields so that they are placed one on top of another, instead of one being next to another? The same thing is needed for "city" and "state/province" fields. The reason I need this is that in my russian magento, in mobile view those entry fields overlap each other which confuses the user. Thanks

  • Please specify your magento version. Commented Feb 27, 2017 at 5:41

1 Answer 1


To change design of billing address and shipping address, you have to customize phtml file as per your design.

The first name and last name field are coming from template\persistent\checkout\onepage\billing.phtml and this phtml file called from template\checkout\onepage\billing.phtml.

By this two files you can adjust your billing and shipping address design.

This may help you.Thanks

  • Hi Prasanata. Can you tell me how to edit the phtml to relocate the "last name" and "state/province" fields so that they are in a column with everything else? Thanks you
    – Maks R
    Commented Mar 1, 2017 at 4:28
  • first build static html design and then adjust that design in phtm files mentioned above. Commented Mar 1, 2017 at 5:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.