Hi
I would like to move the search from the sidebar (‘ja-col1’) to the header?
Would you be able to point me in the direction of the files that control the side column?
Thanks.
2 answers
Hi Daddia!
This is a hot solution for your problem:
-- Open "app/design/frontend/default/jm_deco/layout/page.xml".
+ Remove this line(line 149):
HTML Code:
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml" before="-" />
+ Add this code:
HTML Code:
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
to after:
HTML Code:
<block type="page/html_header" name="header" as="header">
(between line 70 and 71)
-- Open "app/design/frontend/default/jm_deco/template/page/html/header.phtml"
Add this code:
HTML Code:
<?php echo $this->getChildHtml('topSearch') ?>
to where you want the quick search module display.
Hope this help you.
Thanks. Worked perfectly.
This question is now closed