How to remove search form Navbar

Posted in: Newsmag
Post count: 3

How to remove search bar from Nav main menu?

Post count: 6535

Hi

To remove the search field from main menu you need to modify header-menu.php file like here: http://screencast.com/t/Bznq1cuOdE3http://screencast.com/t/91iqZWShxsN

Let me know how it goes!

Thanks!

Post count: 17

Hi Andrei,
I was looking for that file and couldn’t find it, but then looking through the folders wanted to add the location: Newsmag/parts/header/header-menu.php in case someone gets lost like me 🙂
Can you explain which lines of code to comment out? It seems like there would be a template calling on this file where we would comment the call to the search on that file instead of within header-menu.php.

Post count: 6535

Hi

That file is not available in WordPress editor. You have to edit it manually on your computer, apply the indicated changes then upload it via ftp in same exact folder.
Before making any changes make sure you do a full backup to your current wp-install and the database. In case something goes wrong you can always get back to the previous version.
If this is not what you mean please provide more details.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.