1

I have created a couple of new templates that replace the header on my theme and I've created a new header container that contains the new blocks I'm using to render the templates.

What I want to know is, how do I go about pulling through the catalogue top navigation (store/category navigation) into one of these blocks? What is considered best practice?

Thanks

Gareth

0

Try to use <move> tag to move catalog navigation to your container. eg:

<move element="catalog.topnav" destination="your_container_name"/>
| improve this answer | |
  • Yes, this is the approach I have gone for, thanks. – Gareth Daine Feb 22 '16 at 22:14

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.