Change the layout of the search results?
-
16-10-2019 - |
Pergunta
Currently the search results page is in the 2coloums-left but I want to make it centred just to display the results, I tried editing the catalogsearch.xml of the theme file and the Settemplate tag, but no luck. Any ideas?
Solução
Add the change of the template to your local.xml
<catalogsearch_result_index translate="label">
<label>Quick Search Form</label>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
</catalogsearch_result_index>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange