WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blix - search form in navigation bar (3 posts)

  1. randski
    Member
    Posted 7 years ago #

    Hi,

    I'm using the blix theme on my site, and I'm trying to figure out how to remove the search form from the navigation bar. I just want to get rid of it.

    Any help would be appreciated.

  2. Jag Singh
    Member
    Posted 7 years ago #

    Look in your theme directory and edit header.php

    About a quarter of the way down, you'll see

    <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
    <fieldset>
    <input value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
    <input type="submit" value="Go!" id="searchbutton" name="searchbutton" />
    </fieldset>
    </form>

    Just remove those lines (the whole form). Make sure you save a copy of that file somewhere in case the end-result isn't to your satisfaction.

    Hope this helps,
    jag

  3. randski
    Member
    Posted 7 years ago #

    Ooh, thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags