0

I'm trying to display category image after bread crumbs. Is that possible to display after bread crumbs? If possible please let me know how can i do that. Here is the screenshot of my website.

Screenshot of my website

1 Answer 1

2

You can use the move element of xml to display category image at top of the page. Navigate to

Magento_Catalog/frontend/layout/catalog_category_view.xml

Put this code before body end

<move element="category.image" destination="columns.top" before="-" />
3
  • That block is already in the columns.top container. Here I have added the custom module called( Subcategory master ) so that the module is displaying above the ' columns.top ' container. I would like to display the category image above custom module.
    – Varma
    Commented Apr 14, 2017 at 5:10
  • If you have added custom module then you have to move the position of your custom block. Commented Apr 14, 2017 at 6:22
  • I can understand what you have said. but i can't find any layout file in the custom module, Can i create layout file in the module? if can please give me any reference for creating the layout file. Tq
    – Varma
    Commented Apr 14, 2017 at 6:48

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.