Magento2: Template for editing the header

I would like to change a little bit in the template.

  • 1) I have to cut a small search engine
  • 2) Move the logo to the banner search engine
  • 3) Move the search engine up and stay on top.

Enter the image description here

Can anyone help me with what to do?

To edit:
File logo.phtml


getThemeName ()? $ block-> getThemeName (): $ block-> getLogoAlt (); ?>

searchbox.form.mini.phtml

_getConfig (& # 39; isenabled & # 39 ;, 1)) return;



/ ** @ var $ block  Magento  Framework  View  Element  Template * /

/ ** @ var $ helper  Sm  SearchBox  Helper  Data * /

/ ** @ var $ helperSearch  Magento  Search  Helper  Data * /



$ helperSearch = $ this-> helper (& # 39; Magento  Search  Helper  Data & # 39;);

$ helper = $ this-> helper (> Sm  SearchBox  Helper  Data & # 39;);

$ tag_id = & sm_searchbox & # 39 ;. edge (). Time();

$ cat_list = $ this-> getCategories ();



$ show_popular = $ this -> _ getConfig (& # 39; show_popular & # 39;);

$ limit_popular = $ this -> _ getConfig (& # 39; limit_popular & # 39;);



$ show_advanced = $ this -> _ getConfig (& # 39; show_advanced & # 39;);

$ pretext = $ this -> _ getConfig (# pretext #);

$ posttext = $ this -> _ getConfig (& # 39; posttext & # 39;);



$ show_more = $ this -> _ getConfig (& # 39; show_more & # 39;);

$ more_text = $ this -> _ getConfig (& # 39; more_text & # 39 ;, & # 39; More ++ & # 39;);

?>



<div id = ""class =" sm-searchbox ">

        

            
<form class = "form minisearch" id = "searchbox_mini_form" action = "getResultUrl ()?> "method =" get ">
<button type = "submit" title = "escapeHtml (__ (& 39; search & # 39;))?> "class =" btn-searchbox ">
<a href = "getSearchBoxAdvanced (); ?> ">