1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 It is possible to remove the pop-up for the search bar?

Discussion in 'XenForo Questions and Support' started by Dylan V, Jan 24, 2015.

  1. Dylan V

    Dylan V Well-Known Member

    Hi,

    It is possible to remove the pop-up for the search bar? I want that this pop-up:

    Screenshot_1.png

    no longer appears, but I would like it to be like this:

    Screenshot_2.png

    I would like to just that no pop-up opens (just a simple search bar).
     
  2. Dylan V

    Dylan V Well-Known Member

    Solved.
     
  3. Amaury

    Amaury Well-Known Member

    It'd be helpful to post the solution for anyone else who may want to do the same thing.
     
    Jallah and IPF like this.
  4. Jallah

    Jallah New Member

    Also want this, help please
     
  5. Dylan V

    Dylan V Well-Known Member

    If you want to do that, replace "search_bar" template with:
    Code:
    <xen:edithint template="search_bar.css" />
    
    <div id="searchBar" class="pageWidth">
        <xen:hook name="quick_search">
        <span id="QuickSearchPlaceholder" title="{xen:phrase search}">{xen:phrase search}</span>
        <fieldset id="QuickSearch">
            <form action="{xen:link 'search/search'}" method="post">
                <div class="primaryControls">
                    <!-- block: primaryControls -->
                    <input name="keywords" value="" class="textCtrl" placeholder="{xen:phrase search}..." results="0" title="{xen:phrase enter_your_search_and_hit_enter}" id="QuickSearchQuery" />              
                    <!-- end block: primaryControls -->
                </div>
              
                <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
            </form>  
        </fieldset>
        </xen:hook>
    </div>
     
    DroidOne and Jallah like this.
  6. Jallah

    Jallah New Member

    Thanks Dylan :)
     

Share This Page