Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change search result page from 3 to 1 columns in magento?

I have to change catalog search result page layout 3 from 1 columns layout. I have tried in catalogsearch.xml, but not getting proper result. Can anyone tell me how can I fix it?

Thank you.

like image 846
Prashant Parekh Avatar asked Dec 25 '22 22:12

Prashant Parekh


1 Answers

Changing the layout in catalogsearch.xml should do the trick, done this way:

Before:

<action method="setTemplate"><template>page/3columns.phtml</template></action>

After:

<action method="setTemplate"><template>page/1column.phtml</template></action>

You should also clear your Magento Cache in admin>System>Cache Management.

Hope this helps.

like image 164
peterdotplus Avatar answered Apr 26 '23 22:04

peterdotplus