0

In Magento2, I want layered navigation to be shown in the content area at the top of the product listing. I managed to do it but simultaneously its showing in left sidebar too. I don't want to show it in left side bar. How can I hide it from left side bar and just keep above the product listing?

Thanks in advance.

2
  • Which theme you are used ? custom or luma ? Sep 28, 2016 at 9:30
  • Have you check below code, it is working or not ? Sep 28, 2016 at 11:31

1 Answer 1

0

If you want to display layer navigation on top in product list page.

<move element="catalog.leftnav" destination="content" before="-"/>

Your Answer

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

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