- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2016
07:41 AM
03-10-2016
07:41 AM
Move category toolbar next to breadcrumb
I'm working on a template for a Magento 2 site, based on the Magento Blank theme, and one of the design requirements is to have the category toolbar inline with the breadcrumb.
I tried moving the toolbar using XML but somehow it's not working, what would be the correct way to accomplish this?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2016
04:37 AM
03-11-2016
04:37 AM
Re: Move category toolbar next to breadcrumb
How to move a block or container to another place by the <move> layout instruction? https://mage2.pro/t/856
This should work.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2016
07:30 PM
12-15-2016
07:30 PM
Re: Move category toolbar next to breadcrumb
I tried with:
<move element="product_list_toolbar" destination="columns" before="-" />
It seems to move the toolbar correctly, but then the Category page throws a Fatal Error:
Fatal error: Uncaught Error: Call to a member function getSize() on null in /app/design/frontend/MyCompany/MyTheme/Magento_Catalog/templates/product/list/toolbar.phtml on line 18
Any idea of how to solve it? Thanks.