Before you ask please READ THIS

How can I move a search box in the footer?

edited March 2013 in Hypershot Posts: 21
Hey. How can I move a search box in the footer?

Comments

  • AirAir
    Posts: 10,970
    Hello,

    You will have to copy code fromheader.php to footer.php . Here is the code
    
                        if( $header_search == 'on' ){
                            echo
                                '<div class="search">' .
                                    '<span class="action">'. __fe( 'Search' ) .'</span>';
                                    get_search_form();
                            echo
                                '</div>';
                        }
    Because how search works and where it is not safe change(it will affect responsive layout) so I won't provide full steps. You will have to also change CSS of how search input appears. If you are not familiar with CSS and PHP I advise against any changes.

    With regards.
  • Posts: 21
    I threw everything, does not appear
  • AirAir
    Posts: 10,970
    Maybe you have turned off search form in header area Hypershot theme-> Appearance-> Header-> Switch on/off header search form. Check it.

    With regards.
  • Posts: 21
    No. search is on
  • Posts: 21
    I can not insert the code there?
  • AirAir
    Posts: 10,970
    You can :-) Show live link so I can see what you achieved.
  • Posts: 21
    http://cs7002.userapi.com/c417327/v417327947/3832/vRtUM9ngRTI.jpg

    Here is the link to the image. Selected shows where I put in the correct code
  • AirAir
    Posts: 10,970
    I meant link to you site:-) but that is ok. There is chance that you need to tweak styles(CSS) before anything will show up.

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion