I like to move the product_list_toolbar element after the category.cms or category.view.container, for that have tried the following code

<move element="product_list_toolbar" destination="category.view.container" after="-"/>
<move element="product_list_toolbar" destination="category.cms" after="-" />

But nothing seems to work, it's throwing the Fatal error: Uncaught Error: Call to a member function getSize() on null.

for your further reference herewith I have attached my expected things.

enter image description here


Just add below code in catalog_category_view.xml file in your custom theme:-

<move element="product_list_toolbar" destination="columns.top" after="page.main.title" />

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.