Removing the "search" in the top navigation menu

resolved (11 posts) (5 voices)

  1. Millemini
    Member

    Is there a way to remove the "search" function from the top navigation bar? (I wish to remove it completely).

    Thanks in advance:-)

    Posted 1 year ago #
  2. Elliott
    Support

    Hello Millemini,

    Open up /wp-content/themes/awake/header.php and at the bottom you should see this..

    <div id="menu_search"></div>
    
    <!-- tooltip element -->
    <div class="tool_tip search_tooltip">
    	<form method="get" action="<?php bloginfo('url'); ?>/">
    	<p><input type="text" size="20" class="tooltip_search_field" name="s" id="s" value="Search.." onfocus="if(this.value == 'Search..') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search..';}" /></p>
    	<p><input type="submit" value="Search" class="tooltip_search_button" /></p>
    	</form>
    </div>

    Go ahead and comment out or delete those lines to remove the search. Let us know if this works for you.

    Posted 1 year ago #
  3. Millemini
    Member

    It worked - thanks:-D

    Posted 1 year ago #
  4. Elliott
    Support

    Glad it worked for you Millemini, if you have any other questions then let us know.

    Posted 1 year ago #
  5. jlmartin
    Member

    Hello,

    I followed your recommendation here for removing the search box in the menu, but it still appears that i have the search icon in my menu, and when I hover over it, a search callout appears. My site is http://www.aitinsulation.com. Can you help?

    Posted 1 year ago #
  6. Ruderic
    Support

    Hello jlmartin,

    I just visited your website and the code for the search box is still in your theme.

    If you could provide me the login details for your website, I can remove it for you.

    Posted 1 year ago #
  7. Ruderic
    Support

    Hello,

    I already deleted the search form from your website.

    The problem was that you used the PHP comments shortcut, and it does not work for HTML. I just deleted that block of code.

    Posted 1 year ago #
  8. reggiethecat
    Member

    I have the Awake theme. Header.php does not contain the code noted above. Perhaps that was for a different theme or older version. Any other suggestions on removing the search function in total?
    Thanks.

    Posted 5 months ago #
  9. Elliott
    Support

    Hello reggiethecat,

    Add this line in Dashboard -> your theme -> General Settings -> Custom CSS,

    #fancy_search { display: none; }

    Posted 5 months ago #
  10. reggiethecat
    Member

    Simple! Thanks... that worked.

    Posted 5 months ago #
  11. Elliott
    Support

    Your welcome, let us know if you have any other questions.

    Posted 5 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme