Question

I was trying to move the search box into the top menu bar and the result was: fatal error :(

I mean: top menu with categories and at the end of them, the search box.

So, would somebody help me step by step how to do that without dying in the attempt?

Was it helpful?

Solution

Since the menu bar (main navigation) and search box are both located in catalog/view/theme/<YOUR_THEME>/template/common/header.tpl You do not need to follow any articles regarding how to display and make work the search box in different module positions (content_top, column_left, etc).

All You need to do is to open up the mentioned template file in a text editor (or Your IDE) and cut off the code for search box and paste it into the div, where the menu resides. Play with CSS until it meets Your needs. Done.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top