How can I move the Product image after product title?

In short, I can say I need to move product media div inside class="product-info-main"

1 Answer 1


I have tried you questions.may be help this

Open this file catalog_product_view.xml

And put this code : -

<move element="product.info.media" destination="page.main.title" after="-"/>

You put this after run php bin/magento c:c

And last your product media div move on product-info-main div

enter image description here

Hope this helps you

Thanks ...

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.