enter image description here

How can I swap these two elements present in the footer section in the Magento 2 I installed ?

  • Checkout into your back-end you must have some blocks created there & make the required changes from there – Abhishek Tripathi Feb 28 '19 at 6:50

In Magento2 you can use the move to swap the position of any element as :

<move element="name.of.an.element" destination="name.of.destination.element" 
 after="name.of.element.after" before="name.of.element.before"/>
| improve this answer | |

Use Move element to swap that

<move element="form.subscribe" destination="footer" before="-"/>
| improve this answer | |
  • I tried this block of codes and failed : <move element="form.subscribe" destination="footer" before="-"/> <move element="footer_links" destination="footer" after="-"/> – Musfiqur Emat Feb 28 '19 at 7:17
  • you can try this <move element="cms_footer_links_container" destination="form.subscribe" before="-"/> <move element="form.subscribe" destination="footer_links" before="-"/> – user68317 Feb 28 '19 at 7:35

Your Answer

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

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